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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin442
RA = 150.294, Dec = 29.188
tmin = 353894401, tmax = 354153601
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='656254', job_status='RUN', time_executed='2021-09-01 09:54:40.307206', time_epoch_executed='1630515280.31' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='442'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656254

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656254/ft1_4FGL_J1001.1+2911_daily_bin442.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656254/ft2_4FGL_J1001.1+2911_daily_bin442.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656254/ft1_4FGL_J1001.1+2911_daily_bin442.fits outfile=/scratch/kocevski/656254/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin442.fits ra=150.294 dec=29.188 rad=12.0 tmin=353894401.0 tmax=354153601.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.51
user 3.28
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656254/ft1_filtered_4FGL_J1001.1+2911_daily_bin442.fits evtable="EVENTS" scfile=/scratch/kocevski/656254/ft2_4FGL_J1001.1+2911_daily_bin442.fits sctable="SC_DATA" expcube=/scratch/kocevski/656254/ltcube_353894401_354153601_4FGL_J1001.1+2911_daily_bin442.fits outfile=/scratch/kocevski/656254/expmap_353894401_354153601_4FGL_J1001.1+2911_daily_bin442.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/656254/ltcube_353894401_354153601_4FGL_J1001.1+2911_daily_bin442.fits
.....................!
real 189.91
user 184.66
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/656254/ft1_filtered_4FGL_J1001.1+2911_daily_bin442.fits scfile=/scratch/kocevski/656254/ft2_4FGL_J1001.1+2911_daily_bin442.fits outfile=/scratch/kocevski/656254/cmap_353894401_354153601_4FGL_J1001.1+2911_daily_bin442.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.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4631       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6967       1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.513       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.766       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.7068       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.457       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3974       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.514       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .50623       1.0000         .10000E-03   10000.    
    12 'norm      '    .32345E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4401       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10439E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3703       1.0000         .10000E-03   10000.    
    16 'norm      '    3.2543       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.5125       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .27557       1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.303       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92393       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0842       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=   5580.383     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2781 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4632        4.4983       -.40466E-06    .71425E-04
   2  norm          .10000E-03    .70714       -.18555E-07** at limit **
   3  Prefactor     .10000E-03    58.939       -.28850E-05** at limit **
   4  Prefactor     2.6967        2.8015       -.10455E-06    .33860E-04
   5  Prefactor     28.515        27.289       -.41993E-07    .42711E-04
   6  Prefactor     16.777        48.564       -.32888E-05   -.43983E-07
   7  Prefactor     5.7107        77.017       -.28211E-05    .19622E-05
   8  Prefactor     13.469        36.392       -.27655E-05   -.21625E-05
   9  Prefactor     2.3993        6.7582        .49610E-06    .20119E-03
  10  Prefactor     23.516        13.517       -.70846E-07    .75992E-04
  11  Prefactor     .50551        1.9529       -.81447E-06    .93579E-04
  12  norm          .10000E-03    21.742        .48489E-05** at limit **
  13  Prefactor     2.4409        5.3018       -.18619E-06    .12550E-03
  14  Prefactor     .10000E-03    99.128        .28703E-05** at limit **
  15  Prefactor     3.3700        6.9585       -.28171E-06    .12155E-03
  16  norm          3.2545        6.7090       -.83748E-06    .10865E-04
  17  Prefactor     .10000E-03    15.198        .35054E-06** at limit **
  18  Prefactor     .10000E-03    34.924        .96602E-06** at limit **
  19  Prefactor     .10000E-03    3.5416        .16301E-06** at limit **
  20  Prefactor     3.5146        7.6723       -.10637E-05   -.97313E-04
  21  Prefactor     .27420        2.3458        .31955E-07   -.22266E-03
  22  Prefactor     20.303        21.585       -.17423E-06    .17826E-05
  23  Normalizat    .92381        .18649        .11217E-05    .10623E-03
  24  Prefactor     1.0843        .18744        .88394E-06    .15025E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.46322
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.69669
  Prefactor  = 28.515
  Prefactor  = 16.7771
  Prefactor  = 5.71065
  Prefactor  = 13.469
  Prefactor  = 2.39926
  Prefactor  = 23.5156
  Prefactor  = 0.505509
  norm       = 0.000100001
  Prefactor  = 2.4409
  Prefactor  = 0.0001
  Prefactor  = 3.36999
  norm       = 3.2545
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.51456
  Prefactor  = 0.274195
  Prefactor  = 20.3031
  Normalizat = 0.923808
  Prefactor  = 1.08431
 **********
 **   18 **HESSE 
 **********

 FCN=   5580.383     FROM HESSE     STATUS=OK           409 CALLS     3190 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4632        4.5077        .20637E-03   -1.5394    
   2  norm          .10000E-03    .72467        .12264E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    59.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.6967        2.7980        .12291E-03   -1.5380    
   5  Prefactor     28.515        27.282        .75028E-04   -1.4639    
   6  Prefactor     16.777        48.736        .97813E-04   -1.4889    
   7  Prefactor     5.7107        77.280        .16814E-03   -1.5230    
   8  Prefactor     13.469        36.443        .10919E-03   -1.4974    
   9  Prefactor     2.3993        6.8462        .26447E-03   -1.5398    
  10  Prefactor     23.516        13.521        .82605E-04   -1.4738    
  11  Prefactor     .50551        1.9636        .19794E-03   -1.5566    
  12  norm          .10000E-03    21.985        .37292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.4409        5.0796        .19234E-03   -1.5395    
  14  Prefactor     .10000E-03    100.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.3700        6.7443        .21385E-03   -1.5341    
  16  norm          3.2545        6.6836        .22450E-03   -1.5347    
  17  Prefactor     .10000E-03    15.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    35.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.5669        .13708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.5146        7.5449        .21571E-03   -1.5333    
  21  Prefactor     .27420        4.9303        .20289E-02   -1.5603    
  22  Prefactor     20.303        21.586        .88891E-04   -1.4806    
  23  Normalizat    .92381        .22100        .24589E-03   -.95629    
  24  Prefactor     1.0843        .22339        .24873E-03   -.89970    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11018e-08
Minuit parameter uncertainties:
  1  4.50835
  2  1.86495e-06
  3  0.000153235
  4  2.79811
  5  27.294
  6  48.8515
  7  42.0813
  8  36.5035
  9  6.84839
  10  13.5228
  11  1.96381
  12  0.000228578
  13  5.08049
  14  0.000214702
  15  6.74577
  16  6.68518
  17  2.19326e-06
  18  2.48944e-05
  19  7.20534e-06
  20  7.54698
  21  2.3252
  22  21.594
  23  0.221222
  24  0.223582
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  5.055e-01  1.964e+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.084e+00  2.236e-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.238e-01  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/656254/likelihoodResults_353894401_354153601_4FGL_J1001.1+2911_daily_bin442.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) = 5580.16185702
delta logL = 0.220932904489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5579.83680325
delta logL = 0.545986680335

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15762E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.4806       1.0000          .0000       10.000    
     3 'Normalizat'    .86045       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1356       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5579.837     FROM MIGRAD    STATUS=FAILED       134 CALLS      414 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14008E-03    .27451E-02    .12846E-04** at limit **
   2  Index         7.5343        2.1012        .62779E-02    .41219E-03
   3  Normalizat    .86118        .21052        .25361E-03   -.27972E-04
   4  Prefactor     1.1351        .22569        .24389E-03   -.23307E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5579.837     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      488 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14008E-03    .27451E-02    .18210E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.5343        2.1012        .84640E-02    .53155    
   3  Normalizat    .86118        .21052        .29501E-03   -.97838    
   4  Prefactor     1.1351        .22569        .35858E-03   -.88352    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5579.837     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      524 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14008E-03    .12432E-01    .25692E-05** at limit **
   2  Index         7.5343        7.5683        .12556E-02    .10503E-05
   3  Normalizat    .86118        .21113        .10144E-04    .67241E-06
   4  Prefactor     1.1351        .22599        .97555E-05    .46614E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000140082
  Index      = 7.53435
  Normalizat = 0.861177
  Prefactor  = 1.1351
 **********
 **   18 **HESSE 
 **********

 FCN=   5579.837     FROM HESSE     STATUS=OK            25 CALLS      549 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14008E-03    .18224E-01    .51385E-06   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.5343        8.0140        .50223E-04    .53155    
   3  Normalizat    .86118        .21202        .20289E-05   -.97838    
   4  Prefactor     1.1351        .22638        .19511E-05   -.88352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.68169e-10
Minuit parameter uncertainties:
  1  0.00170933
  2  5.62542
  3  0.212223
  4  0.226569
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656254': 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) = 5579.83679206
delta logL = 0.545997864693

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.401e-04  1.709e-03  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  7.534e+00  5.625e+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.135e+00  2.266e-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:  8.612e-01  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.26
Ra Dec: 150.294 29.188
Photon Index (Free Index): 7.53 +/- 5.63
Photon Flux (Free Index): 5.49e-08 +/- 1.30e-06
Energy Flux (Free Index): 6.45e-06 +/- 1.52e-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/656254/cmap_HighResolution_353894401_354153601_4FGL_J1001.1+2911_daily_bin442.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.23e-03', comment='SUCCESS', energy_flux2='6.45e-06', dlogl='5.46e-01', photon_flux2='5.49e-08', job_status='DONE', time_completed='2021-09-01 10:05:20.838503', photon_index_error2='5.63', photon_index2='7.53', ts='0.08', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='8.13e-08', energy_flux_error2='1.52e-04', EG='0.92', time_epoch_completed='1630515920.84', return_code='0', job_id='656254', GAL2='1.14', EG2='0.86', return_code2='0', photon_flux_error2='1.30e-06', ts2='1.26', photon_index='2.27' WHERE bin_id='442' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:05:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 656254: <4FGL_J1001.1+2911_daily_bin442> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin442 150.294 29.188 353894401 354153601 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 :                                   636.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             228.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            867 sec.

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

