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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin1137
RA = 150.294, Dec = 29.188
tmin = 534038401, tmax = 534297601
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='660932', job_status='RUN', time_executed='2021-09-01 10:05:53.436487', time_epoch_executed='1630515953.44' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='1137'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/660932

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/660932/ft1_4FGL_J1001.1+2911_daily_bin1137.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/660932/ft2_4FGL_J1001.1+2911_daily_bin1137.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/660932/ft1_4FGL_J1001.1+2911_daily_bin1137.fits outfile=/scratch/kocevski/660932/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1137.fits ra=150.294 dec=29.188 rad=12.0 tmin=534038401.0 tmax=534297601.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.73
user 3.37
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/660932/ft2_4FGL_J1001.1+2911_daily_bin1137.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/660932/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1137.fits evtable="EVENTS" outfile="/scratch/kocevski/660932/ft1_filtered_4FGL_J1001.1+2911_daily_bin1137.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.99
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/660932/ft1_filtered_4FGL_J1001.1+2911_daily_bin1137.fits" evtable="EVENTS" scfile=/scratch/kocevski/660932/ft2_4FGL_J1001.1+2911_daily_bin1137.fits sctable="SC_DATA" outfile=/scratch/kocevski/660932/ltcube_534038401_534297601_4FGL_J1001.1+2911_daily_bin1137.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/660932/ft2_4FGL_J1001.1+2911_daily_bin1137.fits
.....................!
real 14.56
user 11.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/660932/ft1_filtered_4FGL_J1001.1+2911_daily_bin1137.fits evtable="EVENTS" scfile=/scratch/kocevski/660932/ft2_4FGL_J1001.1+2911_daily_bin1137.fits sctable="SC_DATA" expcube=/scratch/kocevski/660932/ltcube_534038401_534297601_4FGL_J1001.1+2911_daily_bin1137.fits outfile=/scratch/kocevski/660932/expmap_534038401_534297601_4FGL_J1001.1+2911_daily_bin1137.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/660932/ltcube_534038401_534297601_4FGL_J1001.1+2911_daily_bin1137.fits
.....................!
real 192.06
user 185.28
sys 4.75

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/660932/ft1_filtered_4FGL_J1001.1+2911_daily_bin1137.fits scfile=/scratch/kocevski/660932/ft2_4FGL_J1001.1+2911_daily_bin1137.fits outfile=/scratch/kocevski/660932/cmap_534038401_534297601_4FGL_J1001.1+2911_daily_bin1137.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/660932/ft1_filtered_4FGL_J1001.1+2911_daily_bin1137.fits scfile=/scratch/kocevski/660932/ft2_4FGL_J1001.1+2911_daily_bin1137.fits outfile=/scratch/kocevski/660932/cmap_HighResolution_534038401_534297601_4FGL_J1001.1+2911_daily_bin1137.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.63
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1653       1.0000         .10000E-03   10000.    
     2 'norm      '    .11085E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.799       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .24158       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.051       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.613       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4116       1.0000         .10000E-03   10000.    
    12 'norm      '    15.221       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16432E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1738       1.0000         .10000E-03   10000.    
    16 'norm      '    4.8162       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10455E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .38655E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.7442       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3801       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .50663       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=   5431.157     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     3178 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1640        2.8172        .53074E-06    .87912E-04
   2  norm          .10000E-03    .90633       -.27772E-08** at limit **
   3  Prefactor     16.791        40.273       -.11475E-05   -.45354E-04
   4  Prefactor     .24027        1.8099        .22165E-06   -.32683E-03
   5  Prefactor     17.059        24.759       -.52219E-06   -.51425E-04
   6  Prefactor     .10000E-03    39.137       -.38071E-06** at limit **
   7  Prefactor     .10000E-03    13.614        .19646E-05** at limit **
   8  Prefactor     25.621        40.085        .12547E-05    .68047E-04
   9  Prefactor     .10000E-03    4.4459        .40472E-07** at limit **
  10  Prefactor     .10000E-03    2.9866        .34343E-08** at limit **
  11  Prefactor     2.4119        1.9771        .87967E-08   -.49456E-04
  12  norm          15.223        8.2942       -.29624E-08   -.44563E-04
  13  Prefactor     .10000E-03    1.8962       -.32765E-06** at limit **
  14  Prefactor     .10000E-03    187.99       -.12591E-05** at limit **
  15  Prefactor     4.1754        3.3404        .11959E-05   -.13670E-02
  16  norm          4.8172        9.4443       -.45878E-06   -.13094E-03
  17  Prefactor     .10000E-03    64.709        .12119E-05** at limit **
  18  Prefactor     .10048E-03    21.074        .10769E-05** at limit **
  19  Prefactor     .10000E-03    5.0608       -.73210E-07** at limit **
  20  Prefactor     8.7455        6.8882       -.13202E-05   -.86179E-03
  21  Prefactor     .10000E-03    .86052       -.96764E-08** at limit **
  22  Prefactor     .10000E-03    13.463       -.18471E-05** at limit **
  23  Normalizat    1.3800        .17090       -.32928E-07   -.81081E-04
  24  Prefactor     .50658        .18048       -.24138E-06   -.30766E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.164
  norm       = 0.0001
  Prefactor  = 16.7914
  Prefactor  = 0.240266
  Prefactor  = 17.0589
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 25.6205
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.41185
  norm       = 15.2228
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.1754
  norm       = 4.8172
  Prefactor  = 0.0001
  Prefactor  = 0.000100477
  Prefactor  = 0.0001
  Prefactor  = 8.74554
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.38004
  Prefactor  = 0.506583
 **********
 **   18 **HESSE 
 **********

 FCN=   5431.157     FROM HESSE     STATUS=OK           411 CALLS     3589 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1640        2.4181        .19018E-02   -1.5492    
   2  norm          .10000E-03    2.3602        .13613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.791        40.388        .97719E-04   -1.4888    
   4  Prefactor     .24027        3.4542        .19017E-02   -1.5610    
   5  Prefactor     17.059        24.809        .96993E-04   -1.4882    
   6  Prefactor     .10000E-03    39.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.621        40.140        .79154E-04   -1.4695    
   9  Prefactor     .10000E-03    4.5089        .15163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.9934        .12437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4119        1.9762        .90167E-04   -1.5397    
  12  norm          15.223        8.2926        .10266E-03   -1.4927    
  13  Prefactor     .10000E-03    1.9639        .19883E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    196.45        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1754        3.6507        .62894E-03   -1.5299    
  16  norm          4.8172        9.4525        .18331E-03   -1.5269    
  17  Prefactor     .10000E-03    65.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10048E-03    20.023        .10867       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.2230        .32143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.7455        7.3010        .13555E-03   -1.5116    
  21  Prefactor     .10000E-03    .87403        .66766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3800        .19142        .18982E-03   -.81208    
  24  Prefactor     .50658        .19943        .32075E-03   -1.1168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68116e-08
Minuit parameter uncertainties:
  1  2.41828
  2  3.5576e-06
  3  40.4537
  4  1.82176
  5  24.8237
  6  9.86423e-05
  7  0.000256603
  8  40.1827
  9  1.82041e-06
  10  1.45408e-06
  11  1.97621
  12  8.29325
  13  1.94779e-05
  14  0.000317882
  15  3.6509
  16  9.45548
  17  0.000309481
  18  0.00618141
  19  2.76719e-05
  20  7.30177
  21  7.45197e-06
  22  0.000247541
  23  0.191516
  24  0.19971
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.412e+00  1.976e+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:  5.066e-01  1.997e-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.380e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.93
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.22e-08 +/- 2.64e-08
Energy Flux (Fixed Index): 1.28e-05 +/- 1.05e-05

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

Saving results to:
/scratch/kocevski/660932/likelihoodResults_534038401_534297601_4FGL_J1001.1+2911_daily_bin1137.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) = 5431.08361446
delta logL = 0.0729605018068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5431.07884636
delta logL = 0.0777286062003

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5431.079     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      235 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5919        2.2295        .98699E-04   -.18357E-02
   2  Index         2.0064        .65510        .96991E-02   -.18658E-03
   3  Normalizat    1.3896        .18532        .18930E-03    .11297E-03
   4  Prefactor     .50101        .19769        .32244E-03    .90086E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.59192
  Index      = 2.00638
  Normalizat = 1.38956
  Prefactor  = 0.501013
 **********
 **   18 **HESSE 
 **********

 FCN=   5431.079     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5919        2.2294        .19740E-04   -1.5386    
   2  Index         2.0064        .65489        .38796E-03   -.64191    
   3  Normalizat    1.3896        .18538        .37859E-04   -.80931    
   4  Prefactor     .50101        .19778        .12897E-04   -1.1193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68892e-09
Minuit parameter uncertainties:
  1  2.22947
  2  0.657846
  3  0.185471
  4  0.198048
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/660932': 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) = 5431.07884635
delta logL = 0.0777286133307

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.592e+00  2.229e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.006e+00  6.578e-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:  5.010e-01  1.980e-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.390e+00  1.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.09
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.01 +/- 0.66
Photon Flux (Free Index): 2.41e-08 +/- 2.92e-08
Energy Flux (Free Index): 1.64e-05 +/- 1.87e-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/660932/cmap_HighResolution_534038401_534297601_4FGL_J1001.1+2911_daily_bin1137.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.30e-03', comment='SUCCESS', photon_flux='3.22e-08', energy_flux2='1.64e-05', photon_flux_error='2.64e-08', dlogl='7.77e-02', energy_flux='1.28e-05', photon_flux2='2.41e-08', job_status='DONE', time_completed='2021-09-01 10:17:06.960412', photon_index_error2='0.66', photon_index2='2.01', ts='3.93', fit_tolerance='1e-08', GAL='0.51', photon_index_error='0.00', photon_flux_upper_limit='9.53e-08', energy_flux_error2='1.87e-05', EG='1.38', time_epoch_completed='1630516626.96', return_code='0', job_id='660932', GAL2='0.50', EG2='1.39', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='2.92e-08', ts2='4.09', photon_index='2.27' WHERE bin_id='1137' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:17:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 660932: <4FGL_J1001.1+2911_daily_bin1137> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin1137> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 10:05:36 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:05:37 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:05:37 2021
Terminated at Wed Sep  1 10:17:07 2021
Results reported at Wed Sep  1 10:17:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin1137 150.294 29.188 534038401 534297601 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 :                                   665.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            691 sec.

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

