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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin177
RA = 150.294, Dec = 29.188
tmin = 285206401, tmax = 285465601
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='654729', job_status='RUN', time_executed='2021-09-01 09:48:54.417392', time_epoch_executed='1630514934.42' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='177'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654729

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654729/ft1_4FGL_J1001.1+2911_daily_bin177.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654729/ft2_4FGL_J1001.1+2911_daily_bin177.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654729/ft1_4FGL_J1001.1+2911_daily_bin177.fits outfile=/scratch/kocevski/654729/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin177.fits ra=150.294 dec=29.188 rad=12.0 tmin=285206401.0 tmax=285465601.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.49
user 3.26
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654729/ft1_filtered_4FGL_J1001.1+2911_daily_bin177.fits evtable="EVENTS" scfile=/scratch/kocevski/654729/ft2_4FGL_J1001.1+2911_daily_bin177.fits sctable="SC_DATA" expcube=/scratch/kocevski/654729/ltcube_285206401_285465601_4FGL_J1001.1+2911_daily_bin177.fits outfile=/scratch/kocevski/654729/expmap_285206401_285465601_4FGL_J1001.1+2911_daily_bin177.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/654729/ltcube_285206401_285465601_4FGL_J1001.1+2911_daily_bin177.fits
.....................!
real 190.05
user 185.27
sys 4.27

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/654729/ft1_filtered_4FGL_J1001.1+2911_daily_bin177.fits scfile=/scratch/kocevski/654729/ft2_4FGL_J1001.1+2911_daily_bin177.fits outfile=/scratch/kocevski/654729/cmap_285206401_285465601_4FGL_J1001.1+2911_daily_bin177.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.74
user 0.36
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.4755       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.3646       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.876       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.325       1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.557       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.234       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9430       1.0000         .10000E-03   10000.    
    12 'norm      '    9.4210       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9061       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4884       1.0000         .10000E-03   10000.    
    16 'norm      '    8.1137       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.362       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8001       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.0231       1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.5131       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1781       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .70239       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=   4693.337     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2677 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5818        .35132E-07** at limit **
   2  norm          3.4756        2.2782        .95883E-07    .63481E-04
   3  Prefactor     .10000E-03    16.068       -.16648E-06** at limit **
   4  Prefactor     6.3650        4.4440       -.54615E-06   -.54677E-03
   5  Prefactor     11.878        33.397        .15073E-05    .29088E-04
   6  Prefactor     .10000E-03    25.160        .27501E-05** at limit **
   7  Prefactor     11.330        44.014        .46666E-05    .69418E-04
   8  Prefactor     24.558        37.715        .21672E-06    .36548E-05
   9  Prefactor     11.234        7.7321        .24211E-06   -.33238E-03
  10  Prefactor     .10000E-03    11.915        .60572E-07** at limit **
  11  Prefactor     1.9431        1.9998        .15480E-08    .39604E-05
  12  norm          9.4216        9.4678        .72644E-06   -.43706E-03
  13  Prefactor     2.9057        4.6519       -.61355E-06   -.39015E-03
  14  Prefactor     .10000E-03    42.792       -.93847E-06** at limit **
  15  Prefactor     3.4888        4.2682        .43746E-06    .10399E-03
  16  norm          8.1141        8.8138        .47523E-07    .25430E-05
  17  Prefactor     .10000E-03    23.119       -.19637E-05** at limit **
  18  Prefactor     18.362        25.052       -.12508E-06    .27785E-04
  19  Prefactor     7.8007        5.7072        .49659E-06    .33189E-03
  20  Prefactor     .10000E-03    2.3801        .20629E-08** at limit **
  21  Prefactor     9.0235        3.5777        .10984E-06    .16617E-03
  22  Prefactor     4.5128        11.468        .24755E-05   -.42804E-03
  23  Normalizat    1.1780        .20082       -.53335E-06    .13567E-04
  24  Prefactor     .70244        .20384       -.80290E-07   -.17073E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.4756
  Prefactor  = 0.0001
  Prefactor  = 6.36501
  Prefactor  = 11.878
  Prefactor  = 0.000100002
  Prefactor  = 11.3297
  Prefactor  = 24.5577
  Prefactor  = 11.2343
  Prefactor  = 0.0001
  Prefactor  = 1.94311
  norm       = 9.42163
  Prefactor  = 2.90568
  Prefactor  = 0.0001
  Prefactor  = 3.48881
  norm       = 8.11407
  Prefactor  = 0.000100001
  Prefactor  = 18.3617
  Prefactor  = 7.8007
  Prefactor  = 0.0001
  Prefactor  = 9.02346
  Prefactor  = 4.51279
  Normalizat = 1.17798
  Prefactor  = 0.70244
 **********
 **   18 **HESSE 
 **********

 FCN=   4693.337     FROM HESSE     STATUS=OK           407 CALLS     3084 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5849        .84148E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.4756        2.2815        .80237E-04   -1.5335    
   3  Prefactor     .10000E-03    16.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.3650        4.5313        .11626E-03   -1.5203    
   5  Prefactor     11.878        33.465        .11624E-03   -1.5019    
   6  Prefactor     .10000E-03    25.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.330        44.679        .11905E-03   -1.5035    
   8  Prefactor     24.558        37.717        .80834E-04   -1.4716    
   9  Prefactor     11.234        7.7935        .59765E-03   -1.5037    
  10  Prefactor     .10000E-03    12.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9431        2.0006        .94722E-04   -1.5429    
  12  norm          9.4216        9.7702        .65283E-03   -1.5094    
  13  Prefactor     2.9057        4.7473        .16220E-03   -1.5367    
  14  Prefactor     .10000E-03    43.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.4888        4.2642        .13574E-03   -1.5334    
  16  norm          8.1141        8.8126        .14075E-03   -1.5138    
  17  Prefactor     .10000E-03    23.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.362        25.078        .93467E-04   -1.4851    
  19  Prefactor     7.8007        5.7490        .12955E-03   -1.5149    
  20  Prefactor     .10000E-03    2.3834        .10321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.0235        3.5809        .78664E-04   -1.5107    
  22  Prefactor     4.5128        13.185        .94756E-03   -1.5283    
  23  Normalizat    1.1780        .23134        .22215E-03   -.87286    
  24  Prefactor     .70244        .23334        .29956E-03   -1.0343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43042e-09
Minuit parameter uncertainties:
  1  1.74763e-06
  2  2.28153
  3  1.68579e-05
  4  4.53151
  5  33.5177
  6  0.000393028
  7  44.8114
  8  37.7539
  9  7.79423
  10  2.43074e-05
  11  2.00071
  12  9.77189
  13  4.74796
  14  0.000165641
  15  4.26461
  16  8.81398
  17  0.000263414
  18  25.0921
  19  5.74938
  20  1.66569e-07
  21  3.58101
  22  13.1932
  23  0.231544
  24  0.233665
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.943e+00  2.001e+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:  7.024e-01  2.337e-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.178e+00  2.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.81
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.59e-08 +/- 2.67e-08
Energy Flux (Fixed Index): 1.03e-05 +/- 1.06e-05

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

Saving results to:
/scratch/kocevski/654729/likelihoodResults_285206401_285465601_4FGL_J1001.1+2911_daily_bin177.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) = 4693.2390177
delta logL = 0.0980366791118

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4693.23810972
delta logL = 0.0989446616932

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9472       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8707       1.0000          .0000       10.000    
     3 'Normalizat'    1.1891       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69679       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=   4693.238     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      225 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9498        113.32        .74358E-02   -.11581E-03
   2  Index         1.8719        6.3117        .26591       -.12294E-04
   3  Normalizat    1.1890        .22020        .35165E-01   -.21046E-05
   4  Prefactor     .69678        .15033        .67949E-01    .10543E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.94976
  Index      = 1.87191
  Normalizat = 1.18904
  Prefactor  = 0.696784
 **********
 **   18 **HESSE 
 **********

 FCN=   4693.238     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9498        2.1323        .98600E-04   -1.5429    
   2  Index         1.8719        .84903        .10814E-01   -.67592    
   3  Normalizat    1.1890        .21488        .22126E-03   -.86942    
   4  Prefactor     .69678        .22923        .30067E-03   -1.0365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94793e-10
Minuit parameter uncertainties:
  1  2.13239
  2  0.855882
  3  0.21504
  4  0.22954
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654729': 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) = 4693.23810835
delta logL = 0.0989460256606

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.950e+00  2.132e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.872e+00  8.559e-01  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:  6.968e-01  2.295e-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.189e+00  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.00
Ra Dec: 150.294 29.188
Photon Index (Free Index): 1.87 +/- 0.86
Photon Flux (Free Index): 1.54e-08 +/- 2.50e-08
Energy Flux (Free Index): 1.49e-05 +/- 2.38e-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/654729/cmap_HighResolution_285206401_285465601_4FGL_J1001.1+2911_daily_bin177.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.81e-03', comment='SUCCESS', photon_flux='2.59e-08', energy_flux2='1.49e-05', photon_flux_error='2.67e-08', dlogl='9.89e-02', energy_flux='1.03e-05', photon_flux2='1.54e-08', job_status='DONE', time_completed='2021-09-01 09:58:39.123465', photon_index_error2='0.86', photon_index2='1.87', ts='2.81', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='2.38e-05', EG='1.18', time_epoch_completed='1630515519.12', return_code='0', job_id='654729', GAL2='0.70', EG2='1.19', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='2.50e-08', ts2='3.00', photon_index='2.27' WHERE bin_id='177' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 09:58:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 654729: <4FGL_J1001.1+2911_daily_bin177> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin177> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:45:55 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:45:56 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:45:56 2021
Terminated at Wed Sep  1 09:58:39 2021
Results reported at Wed Sep  1 09:58:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin177 150.294 29.188 285206401 285465601 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 :                                   573.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            764 sec.

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

