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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin920
RA = 150.294, Dec = 29.188
tmin = 477792001, tmax = 478051201
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='659547', job_status='RUN', time_executed='2021-09-01 10:03:37.016275', time_epoch_executed='1630515817.02' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='920'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659547

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659547/ft1_4FGL_J1001.1+2911_daily_bin920.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659547/ft2_4FGL_J1001.1+2911_daily_bin920.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659547/ft1_4FGL_J1001.1+2911_daily_bin920.fits outfile=/scratch/kocevski/659547/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin920.fits ra=150.294 dec=29.188 rad=12.0 tmin=477792001.0 tmax=478051201.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.66
user 3.43
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659547/ft1_filtered_4FGL_J1001.1+2911_daily_bin920.fits evtable="EVENTS" scfile=/scratch/kocevski/659547/ft2_4FGL_J1001.1+2911_daily_bin920.fits sctable="SC_DATA" expcube=/scratch/kocevski/659547/ltcube_477792001_478051201_4FGL_J1001.1+2911_daily_bin920.fits outfile=/scratch/kocevski/659547/expmap_477792001_478051201_4FGL_J1001.1+2911_daily_bin920.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/659547/ltcube_477792001_478051201_4FGL_J1001.1+2911_daily_bin920.fits
.....................!
real 191.26
user 185.57
sys 5.09

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/659547/ft1_filtered_4FGL_J1001.1+2911_daily_bin920.fits scfile=/scratch/kocevski/659547/ft2_4FGL_J1001.1+2911_daily_bin920.fits outfile=/scratch/kocevski/659547/cmap_477792001_478051201_4FGL_J1001.1+2911_daily_bin920.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.58
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659547/ft1_filtered_4FGL_J1001.1+2911_daily_bin920.fits scfile=/scratch/kocevski/659547/ft2_4FGL_J1001.1+2911_daily_bin920.fits outfile=/scratch/kocevski/659547/cmap_HighResolution_477792001_478051201_4FGL_J1001.1+2911_daily_bin920.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6718       1.0000         .10000E-03   10000.    
     2 'norm      '    .77923       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.0333       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8221       1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.134       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.457       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    25.145       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5176       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.9224       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8045       1.0000         .10000E-03   10000.    
    16 'norm      '    13.414       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.606       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.181       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    63.649       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .63855       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2262       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=   5360.208     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2699 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6718        4.5645        .93031E-06   -.29615E-03
   2  norm          .77924        1.3969       -.75086E-07   -.47377E-03
   3  Prefactor     .10000E-03    15.285        .22809E-06** at limit **
   4  Prefactor     7.0331        4.8237       -.83340E-06   -.16179E-04
   5  Prefactor     3.8241        51.139        .30372E-05   -.40831E-04
   6  Prefactor     29.131        62.795       -.47660E-05    .31081E-04
   7  Prefactor     .10000E-03    18.347       -.32885E-06** at limit **
   8  Prefactor     .10000E-03    41.588        .35952E-06** at limit **
   9  Prefactor     .10000E-03    3.8502        .70312E-07** at limit **
  10  Prefactor     11.457        10.267       -.21804E-06   -.70914E-05
  11  Prefactor     .10000E-03    .93670       -.70976E-07** at limit **
  12  norm          25.146        10.266       -.46197E-07    .11560E-04
  13  Prefactor     1.5175        3.7070       -.45578E-06   -.51456E-03
  14  Prefactor     8.9112        45.020       -.24613E-04    .14333E-03
  15  Prefactor     1.8052        5.0856       -.51688E-06   -.63225E-03
  16  norm          13.414        9.7760        .37178E-07    .19885E-04
  17  Prefactor     .10000E-03    25.218        .30318E-06** at limit **
  18  Prefactor     29.604        26.689       -.14603E-05    .63338E-04
  19  Prefactor     .10000E-03    1.9564        .32557E-07** at limit **
  20  Prefactor     12.179        8.5591       -.97517E-06   -.15185E-02
  21  Prefactor     .10000E-03    1.4951        .79191E-07** at limit **
  22  Prefactor     63.649        34.499       -.29057E-06    .10361E-04
  23  Normalizat    .63846        .17874        .70182E-06    .41936E-04
  24  Prefactor     1.2263        .19227        .14430E-05   -.31739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.67177
  norm       = 0.779244
  Prefactor  = 0.0001
  Prefactor  = 7.03308
  Prefactor  = 3.82409
  Prefactor  = 29.1307
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4569
  Prefactor  = 0.0001
  norm       = 25.1457
  Prefactor  = 1.51753
  Prefactor  = 8.91119
  Prefactor  = 1.80525
  norm       = 13.4142
  Prefactor  = 0.0001
  Prefactor  = 29.604
  Prefactor  = 0.0001
  Prefactor  = 12.1794
  Prefactor  = 0.0001
  Prefactor  = 63.6491
  Normalizat = 0.638461
  Prefactor  = 1.22631
 **********
 **   18 **HESSE 
 **********

 FCN=   5360.208     FROM HESSE     STATUS=OK           403 CALLS     3102 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6718        4.5449        .13531E-03   -1.5232    
   2  norm          .77924        1.1457        .11135E-02   -1.5531    
   3  Prefactor     .10000E-03    15.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.0331        4.8005        .12358E-03   -1.5178    
   5  Prefactor     3.8241        50.642        .20645E-03   -1.5317    
   6  Prefactor     29.131        62.879        .74227E-04   -1.4628    
   7  Prefactor     .10000E-03    18.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    41.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.8902        .14018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.457        10.262        .11836E-03   -1.5031    
  11  Prefactor     .10000E-03    .94653        .69156E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          25.146        10.268        .79885E-04   -1.4705    
  13  Prefactor     1.5175        3.5369        .18726E-03   -1.5462    
  14  Prefactor     8.9112        42.349        .13418E-03   -1.5111    
  15  Prefactor     1.8052        4.9159        .23448E-03   -1.5439    
  16  norm          13.414        9.7735        .10936E-03   -1.4975    
  17  Prefactor     .10000E-03    25.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     29.604        26.619        .73634E-04   -1.4619    
  19  Prefactor     .10000E-03    1.9597        .99925E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.179        8.8997        .57388E-03   -1.5010    
  21  Prefactor     .10000E-03    2.5497        .17080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     63.649        34.510        .50299E-04   -1.4111    
  23  Normalizat    .63846        .21180        .27954E-03   -1.0637    
  24  Prefactor     1.2263        .22912        .23122E-03   -.85525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71438e-09
Minuit parameter uncertainties:
  1  4.5452
  2  1.14577
  3  1.11449e-05
  4  4.80073
  5  27.8608
  6  63.0223
  7  3.54661e-06
  8  3.45485e-05
  9  5.89132e-06
  10  10.264
  11  2.26484e-06
  12  10.2689
  13  3.53741
  14  38.897
  15  4.91704
  16  9.77464
  17  2.56105e-05
  18  26.6297
  19  3.43568e-06
  20  8.90065
  21  1.23204e-05
  22  34.5208
  23  0.212073
  24  0.229302
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  2.265e-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.226e+00  2.293e-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:  6.385e-01  2.121e-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: 5.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659547/likelihoodResults_477792001_478051201_4FGL_J1001.1+2911_daily_bin920.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) = 5360.21244262
delta logL = -0.00493806532177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5360.20750478
delta logL = -2.18776222027e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2688       1.0000          .0000       10.000    
     3 'Normalizat'    .63849       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2264       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=   5360.208     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.0034        .90712E-02** at limit **
   2  Index         2.2688        7.3669        .50000       -.61959E-06
   3  Normalizat    .63846        .43937E-02    .63180E-01    .28482E-04
   4  Prefactor     1.2263        .49147E-02    .52299E-01    .93990E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.26881
  Normalizat = 0.63846
  Prefactor  = 1.22631
 **********
 **   18 **HESSE 
 **********

 FCN=   5360.208     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0008        .69156E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2688        5.3828        .50000       -.57787    
   3  Normalizat    .63846        .20080        .27954E-03   -1.0637    
   4  Prefactor     1.2263        .22481        .23122E-03   -.85525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18027e-10
Minuit parameter uncertainties:
  1  9.96612e-07
  2  165.383
  3  0.20103
  4  0.224986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659547': 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) = 5360.20750456
delta logL = 1.90993887372e-11

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  9.966e-07  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.269e+00  1.654e+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:  1.226e+00  2.250e-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:  6.385e-01  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/659547/cmap_HighResolution_477792001_478051201_4FGL_J1001.1+2911_daily_bin920.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-03', job_status='DONE', photon_flux_upper_limit='5.75e-08', time_completed='2021-09-01 10:13:45.898569', job_id='659547', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1630516425.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.91e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='920' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:13:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 659547: <4FGL_J1001.1+2911_daily_bin920> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin920> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 10:00:43 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:00:44 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:44 2021
Terminated at Wed Sep  1 10:13:46 2021
Results reported at Wed Sep  1 10:13:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin920 150.294 29.188 477792001 478051201 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 :                                   605.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            783 sec.

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

