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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin456
RA = 150.294, Dec = 29.188
tmin = 357523201, tmax = 357782401
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='656275', job_status='RUN', time_executed='2021-09-01 09:54:21.430758', time_epoch_executed='1630515261.43' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='456'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656275

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656275/ft1_4FGL_J1001.1+2911_daily_bin456.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656275/ft2_4FGL_J1001.1+2911_daily_bin456.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656275/ft1_4FGL_J1001.1+2911_daily_bin456.fits outfile=/scratch/kocevski/656275/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin456.fits ra=150.294 dec=29.188 rad=12.0 tmin=357523201.0 tmax=357782401.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.70
user 3.35
sys 0.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/656275/ft2_4FGL_J1001.1+2911_daily_bin456.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/656275/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin456.fits evtable="EVENTS" outfile="/scratch/kocevski/656275/ft1_filtered_4FGL_J1001.1+2911_daily_bin456.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.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656275/ft1_filtered_4FGL_J1001.1+2911_daily_bin456.fits" evtable="EVENTS" scfile=/scratch/kocevski/656275/ft2_4FGL_J1001.1+2911_daily_bin456.fits sctable="SC_DATA" outfile=/scratch/kocevski/656275/ltcube_357523201_357782401_4FGL_J1001.1+2911_daily_bin456.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/656275/ft2_4FGL_J1001.1+2911_daily_bin456.fits
.....................!
real 12.04
user 11.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656275/ft1_filtered_4FGL_J1001.1+2911_daily_bin456.fits evtable="EVENTS" scfile=/scratch/kocevski/656275/ft2_4FGL_J1001.1+2911_daily_bin456.fits sctable="SC_DATA" expcube=/scratch/kocevski/656275/ltcube_357523201_357782401_4FGL_J1001.1+2911_daily_bin456.fits outfile=/scratch/kocevski/656275/expmap_357523201_357782401_4FGL_J1001.1+2911_daily_bin456.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/656275/ltcube_357523201_357782401_4FGL_J1001.1+2911_daily_bin456.fits
.....................!
real 192.06
user 186.10
sys 4.87

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/656275/ft1_filtered_4FGL_J1001.1+2911_daily_bin456.fits scfile=/scratch/kocevski/656275/ft2_4FGL_J1001.1+2911_daily_bin456.fits outfile=/scratch/kocevski/656275/cmap_357523201_357782401_4FGL_J1001.1+2911_daily_bin456.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.54
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656275/ft1_filtered_4FGL_J1001.1+2911_daily_bin456.fits scfile=/scratch/kocevski/656275/ft2_4FGL_J1001.1+2911_daily_bin456.fits outfile=/scratch/kocevski/656275/cmap_HighResolution_357523201_357782401_4FGL_J1001.1+2911_daily_bin456.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.54
user 0.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3624       1.0000         .10000E-03   10000.    
     2 'norm      '    .97928E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.4921       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.948       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.6578       1.0000         .10000E-03   10000.    
    12 'norm      '    5.7309       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.0123       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .97245E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    72.202       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.8054       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .79366       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2769       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=   5483.368     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2731 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3622        2.5321        .16418E-06    .19236E-03
   2  norm          .96903E-01    1.0922       -.18870E-05    .14549E-02
   3  Prefactor     8.4893        79.905       -.64741E-05   -.23790E-05
   4  Prefactor     .10000E-03    2.1179        .20307E-06** at limit **
   5  Prefactor     20.952        34.473        .51144E-05    .12337E-06
   6  Prefactor     .10000E-03    25.689        .18381E-04** at limit **
   7  Prefactor     .10000E-03    71.360       -.17101E-05** at limit **
   8  Prefactor     .10000E-03    22.837       -.14480E-04** at limit **
   9  Prefactor     .10000E-03    4.1601       -.16906E-06** at limit **
  10  Prefactor     .10000E-03    2.7289       -.67586E-08** at limit **
  11  Prefactor     3.6578        3.1043       -.20265E-06   -.46304E-03
  12  norm          5.7311        6.9777        .14305E-06   -.20067E-03
  13  Prefactor     3.0051        4.5230        .17034E-05   -.59314E-03
  14  Prefactor     .10000E-03    14.472       -.89811E-05** at limit **
  15  Prefactor     .10000E-03    5.4889       -.24269E-07** at limit **
  16  norm          .10000E-03    6.7316        .43386E-06** at limit **
  17  Prefactor     72.211        56.323        .79925E-05   -.25096E-04
  18  Prefactor     .10000E-03    9.9639       -.45765E-05** at limit **
  19  Prefactor     .10000E-03    2.1060       -.18549E-06** at limit **
  20  Prefactor     .10000E-03    11.720        .12290E-04** at limit **
  21  Prefactor     .10000E-03    1.1771        .15862E-08** at limit **
  22  Prefactor     6.8371        27.314        .37819E-04   -.17774E-04
  23  Normalizat    .79364        .17771       -.29556E-05   -.13741E-03
  24  Prefactor     1.2769        .19036       -.64679E-06   -.14593E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.36219
  norm       = 0.0969029
  Prefactor  = 8.48931
  Prefactor  = 0.0001
  Prefactor  = 20.9518
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.65781
  norm       = 5.73106
  Prefactor  = 3.00508
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 72.2108
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.83709
  Normalizat = 0.793642
  Prefactor  = 1.27689
 **********
 **   18 **HESSE 
 **********

 FCN=   5483.368     FROM HESSE     STATUS=OK           397 CALLS     3128 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3622        2.5360        .11893E-03   -1.5401    
   2  norm          .96903E-01    2.7675        .14865E-02   -1.5646    
   3  Prefactor     8.4893        80.504        .13756E-03   -1.5125    
   4  Prefactor     .10000E-03    2.1453        .10513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.952        34.581        .87512E-04   -1.4792    
   6  Prefactor     .10000E-03    25.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    71.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.1949        .14741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.7322        .11946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.6578        3.0969        .11287E-03   -1.5325    
  12  norm          5.7311        6.9774        .16778E-03   -1.5229    
  13  Prefactor     3.0051        4.4718        .17753E-03   -1.5361    
  14  Prefactor     .10000E-03    14.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.5963        .33536E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    31.720        .37318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     72.211        56.355        .23623E-03   -1.4006    
  18  Prefactor     .10000E-03    9.9722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.1242        .10493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.159        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.1932        .78404E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.8371        27.380        .15380E-03   -1.5185    
  23  Normalizat    .79364        .20880        .25840E-03   -1.0030    
  24  Prefactor     1.2769        .22594        .23219E-03   -.83997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61826e-09
Minuit parameter uncertainties:
  1  2.53613
  2  1.03524
  3  52.3772
  4  1.3626e-05
  5  34.6139
  6  1.84428e-05
  7  0.00018669
  8  3.43789e-05
  9  9.94605e-06
  10  1.09148e-06
  11  3.09704
  12  6.97837
  13  4.47225
  14  1.30258e-05
  15  9.88358e-05
  16  0.000525127
  17  56.3971
  18  4.33166e-06
  19  4.49394e-06
  20  9.69071e-05
  21  1.36282e-07
  22  27.3857
  23  0.20901
  24  0.226116
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.658e+00  3.097e+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.277e+00  2.261e-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:  7.936e-01  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.88
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.88e-08 +/- 4.13e-08
Energy Flux (Fixed Index): 1.94e-05 +/- 1.65e-05

TS (Fixed Index): 1.88
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 1.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656275/likelihoodResults_357523201_357782401_4FGL_J1001.1+2911_daily_bin456.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) = 5482.14948006
delta logL = 1.21895499815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5482.13447051
delta logL = 1.23396454799

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2493       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3484       1.0000          .0000       10.000    
     3 'Normalizat'    .73021       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3224       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=   5482.134     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      241 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2493        11.141        .10006E-01    .87332E-03
   2  Index         3.3484        2.6948        .10599        .12247E-03
   3  Normalizat    .73039        .54061E-01    .42692E-01    .21720E-04
   4  Prefactor     1.3223        .59767E-01    .51700E-01    .29605E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.24931
  Index      = 3.34842
  Normalizat = 0.730393
  Prefactor  = 1.32229
 **********
 **   18 **HESSE 
 **********

 FCN=   5482.134     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2493        2.6103        .45939E-04   -1.5484    
   2  Index         3.3484        1.1389        .41788E-02   -.33664    
   3  Normalizat    .73039        .20287        .26793E-03   -1.0271    
   4  Prefactor     1.3223        .22238        .22857E-03   -.82647    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38125e-08
Minuit parameter uncertainties:
  1  2.61057
  2  1.15023
  3  0.203082
  4  0.222543
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656275': 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) = 5482.13447
delta logL = 1.233965055

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.249e+00  2.611e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  3.348e+00  1.150e+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.322e+00  2.225e-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:  7.304e-01  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.52
Ra Dec: 150.294 29.188
Photon Index (Free Index): 3.35 +/- 1.15
Photon Flux (Free Index): 1.04e-07 +/- 6.18e-08
Energy Flux (Free Index): 1.80e-05 +/- 1.16e-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/656275/cmap_HighResolution_357523201_357782401_4FGL_J1001.1+2911_daily_bin456.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', comment='SUCCESS', photon_flux='4.88e-08', energy_flux2='1.80e-05', photon_flux_error='4.13e-08', dlogl='1.23e+00', energy_flux='1.94e-05', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-09-01 10:04:36.190019', photon_index_error2='1.15', photon_index2='3.35', ts='1.88', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='1.16e-05', EG='0.79', time_epoch_completed='1630515876.19', return_code='0', job_id='656275', GAL2='1.32', EG2='0.73', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='6.18e-08', ts2='4.52', photon_index='2.27' WHERE bin_id='456' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 656275: <4FGL_J1001.1+2911_daily_bin456> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin456 150.294 29.188 357523201 357782401 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 :                                   612.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            818 sec.

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

