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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin881
RA = 150.294, Dec = 29.188
tmin = 467683201, tmax = 467942401
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='659479', job_status='RUN', time_executed='2021-09-01 10:04:41.125290', time_epoch_executed='1630515881.13' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='881'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659479

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659479/ft1_4FGL_J1001.1+2911_daily_bin881.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659479/ft2_4FGL_J1001.1+2911_daily_bin881.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659479/ft1_4FGL_J1001.1+2911_daily_bin881.fits outfile=/scratch/kocevski/659479/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin881.fits ra=150.294 dec=29.188 rad=12.0 tmin=467683201.0 tmax=467942401.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.46
user 3.24
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/659479/ft2_4FGL_J1001.1+2911_daily_bin881.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/659479/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin881.fits evtable="EVENTS" outfile="/scratch/kocevski/659479/ft1_filtered_4FGL_J1001.1+2911_daily_bin881.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/659479/ft1_filtered_4FGL_J1001.1+2911_daily_bin881.fits" evtable="EVENTS" scfile=/scratch/kocevski/659479/ft2_4FGL_J1001.1+2911_daily_bin881.fits sctable="SC_DATA" outfile=/scratch/kocevski/659479/ltcube_467683201_467942401_4FGL_J1001.1+2911_daily_bin881.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/659479/ft2_4FGL_J1001.1+2911_daily_bin881.fits
.....................!
real 11.81
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659479/ft1_filtered_4FGL_J1001.1+2911_daily_bin881.fits evtable="EVENTS" scfile=/scratch/kocevski/659479/ft2_4FGL_J1001.1+2911_daily_bin881.fits sctable="SC_DATA" expcube=/scratch/kocevski/659479/ltcube_467683201_467942401_4FGL_J1001.1+2911_daily_bin881.fits outfile=/scratch/kocevski/659479/expmap_467683201_467942401_4FGL_J1001.1+2911_daily_bin881.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/659479/ltcube_467683201_467942401_4FGL_J1001.1+2911_daily_bin881.fits
.....................!
real 189.67
user 185.13
sys 4.07

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/659479/ft1_filtered_4FGL_J1001.1+2911_daily_bin881.fits scfile=/scratch/kocevski/659479/ft2_4FGL_J1001.1+2911_daily_bin881.fits outfile=/scratch/kocevski/659479/cmap_467683201_467942401_4FGL_J1001.1+2911_daily_bin881.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.57
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659479/ft1_filtered_4FGL_J1001.1+2911_daily_bin881.fits scfile=/scratch/kocevski/659479/ft2_4FGL_J1001.1+2911_daily_bin881.fits outfile=/scratch/kocevski/659479/cmap_HighResolution_467683201_467942401_4FGL_J1001.1+2911_daily_bin881.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.56
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .76084       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .55396E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.055       1.0000         .10000E-03   10000.    
     6 'Prefactor '    43.733       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.593       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9446       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.056       1.0000         .10000E-03   10000.    
    16 'norm      '    15.673       1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.326       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .89966       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1820       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92948       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=   6542.620     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2732 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6887        .17066E-06** at limit **
   2  norm          .76147        .87506       -.13683E-07    .55784E-05
   3  Prefactor     .10000E-03    49.302        .93104E-06** at limit **
   4  Prefactor     .10032E-03    1.7460        .26513E-08** at limit **
   5  Prefactor     15.068        21.208       -.19302E-06    .45798E-05
   6  Prefactor     43.726        40.478       -.35531E-06   -.34477E-04
   7  Prefactor     .10000E-03    16.523        .39431E-06** at limit **
   8  Prefactor     .10000E-03    14.737       -.24764E-06** at limit **
   9  Prefactor     10.588        7.7021        .17370E-05   -.76938E-05
  10  Prefactor     9.9414        8.2273        .10357E-06    .67796E-04
  11  Prefactor     .10000E-03    .74848       -.23514E-07** at limit **
  12  norm          .10000E-03    2.9129       -.23090E-07** at limit **
  13  Prefactor     .10001E-03    2.3180       -.36013E-06** at limit **
  14  Prefactor     .10000E-03    36.691       -.33649E-06** at limit **
  15  Prefactor     10.053        5.1584        .66363E-07    .27213E-03
  16  norm          15.668        11.281        .10032E-06    .15834E-04
  17  Prefactor     26.295        48.509       -.51499E-06   -.82070E-04
  18  Prefactor     .10000E-03    10.309        .84455E-07** at limit **
  19  Prefactor     .10000E-03    2.3970        .37876E-07** at limit **
  20  Prefactor     .10000E-03    7.8824       -.17500E-07** at limit **
  21  Prefactor     .89747        2.5532        .11758E-05    .84327E-05
  22  Prefactor     .10000E-03    8.5444       -.46008E-07** at limit **
  23  Normalizat    1.1825        .17320       -.60467E-06    .11987E-04
  24  Prefactor     .92929        .17927       -.60991E-06   -.30116E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.761467
  Prefactor  = 0.000100001
  Prefactor  = 0.000100316
  Prefactor  = 15.0678
  Prefactor  = 43.7259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5877
  Prefactor  = 9.94144
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 10.0529
  norm       = 15.6682
  Prefactor  = 26.2946
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.89747
  Prefactor  = 0.0001
  Normalizat = 1.1825
  Prefactor  = 0.929295
 **********
 **   18 **HESSE 
 **********

 FCN=   6542.620     FROM HESSE     STATUS=OK           403 CALLS     3135 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8514        .30344E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .76147        .86093        .78898E-04   -1.5533    
   3  Prefactor     .10000E-03    49.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10032E-03    5.3310        .33784E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.068        21.203        .10323E-03   -1.4931    
   6  Prefactor     43.726        40.475        .60623E-04   -1.4384    
   7  Prefactor     .10000E-03    16.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.588        7.7158        .61552E-03   -1.5057    
  10  Prefactor     9.9414        8.2048        .12707E-03   -1.5077    
  11  Prefactor     .10000E-03    .75500        .68310E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.9226        .13481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    8.2271        .21793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    36.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.053        4.9383        .11933E-03   -1.5074    
  16  norm          15.668        11.283        .10117E-03   -1.4916    
  17  Prefactor     26.295        48.557        .78076E-04   -1.4682    
  18  Prefactor     .10000E-03    10.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.4145        .12227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.0586        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .89747        2.5677        .20563E-03   -1.5519    
  22  Prefactor     .10000E-03    8.5478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1825        .20579        .22807E-03   -.87145    
  24  Prefactor     .92929        .21261        .27462E-03   -.95125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.34448e-10
Minuit parameter uncertainties:
  1  7.81282e-06
  2  0.860947
  3  0.00047913
  4  0.00259406
  5  21.214
  6  40.5002
  7  0.000126129
  8  9.90681e-05
  9  7.71655
  10  8.2057
  11  6.56386e-07
  12  3.03248e-06
  13  0.00043615
  14  0.000247682
  15  4.93854
  16  11.2848
  17  48.6297
  18  2.36231e-05
  19  2.89265e-06
  20  1.42501e-05
  21  2.56802
  22  8.57519e-06
  23  0.205934
  24  0.212799
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  6.564e-07  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:  9.293e-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.183e+00  2.059e-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: 4.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659479/likelihoodResults_467683201_467942401_4FGL_J1001.1+2911_daily_bin881.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) = 6542.62586461
delta logL = -0.00618244728503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6542.61968248
delta logL = -3.13318196277e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6542.620     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      249 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2565        .68869E-02** at limit **
   2  Index         1.9548        5.5465        .50000        .40768E-07
   3  Normalizat    1.1825        .94409E-02    .22806E-03    .18769E-03
   4  Prefactor     .92930        .10265E-01    .27462E-03    .16940E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.95479
  Normalizat = 1.1825
  Prefactor  = 0.929296
 **********
 **   18 **HESSE 
 **********

 FCN=   6542.620     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.001        .71934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9548        7.0615        .50000       -.65485    
   3  Normalizat    1.1825        .31652E-01    .45613E-04   -.87145    
   4  Prefactor     .92930        .34414E-01    .10985E-04   -.95125    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.82467e-11
Minuit parameter uncertainties:
  1  6.50117e-06
  2  320.465
  3  0.0316521
  4  0.0344148
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659479': 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) = 6542.61967602
delta logL = 6.13993324805e-06

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  6.501e-06  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.955e+00  3.205e+02  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:  9.293e-01  3.441e-02  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.183e+00  3.165e-02  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/659479/cmap_HighResolution_467683201_467942401_4FGL_J1001.1+2911_daily_bin881.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.76e-03', job_status='DONE', photon_flux_upper_limit='4.91e-08', time_completed='2021-09-01 10:16:00.018401', job_id='659479', GAL2='0.93', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1630516560.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='6.14e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='881' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:16:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 659479: <4FGL_J1001.1+2911_daily_bin881> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin881> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 10:00:39 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:00:41 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:41 2021
Terminated at Wed Sep  1 10:16:01 2021
Results reported at Wed Sep  1 10:16:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin881 150.294 29.188 467683201 467942401 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 :                                   673.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            922 sec.

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

