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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin201
RA = 150.294, Dec = 29.188
tmin = 291427201, tmax = 291686401
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='654757', job_status='RUN', time_executed='2021-09-01 09:49:53.136093', time_epoch_executed='1630514993.14' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='201'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654757

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654757/ft1_4FGL_J1001.1+2911_daily_bin201.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654757/ft2_4FGL_J1001.1+2911_daily_bin201.fits


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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654757/ft1_filtered_4FGL_J1001.1+2911_daily_bin201.fits evtable="EVENTS" scfile=/scratch/kocevski/654757/ft2_4FGL_J1001.1+2911_daily_bin201.fits sctable="SC_DATA" expcube=/scratch/kocevski/654757/ltcube_291427201_291686401_4FGL_J1001.1+2911_daily_bin201.fits outfile=/scratch/kocevski/654757/expmap_291427201_291686401_4FGL_J1001.1+2911_daily_bin201.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/654757/ltcube_291427201_291686401_4FGL_J1001.1+2911_daily_bin201.fits
.....................!
real 190.32
user 185.50
sys 4.46

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/654757/ft1_filtered_4FGL_J1001.1+2911_daily_bin201.fits scfile=/scratch/kocevski/654757/ft2_4FGL_J1001.1+2911_daily_bin201.fits outfile=/scratch/kocevski/654757/cmap_291427201_291686401_4FGL_J1001.1+2911_daily_bin201.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.73
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654757/ft1_filtered_4FGL_J1001.1+2911_daily_bin201.fits scfile=/scratch/kocevski/654757/ft2_4FGL_J1001.1+2911_daily_bin201.fits outfile=/scratch/kocevski/654757/cmap_HighResolution_291427201_291686401_4FGL_J1001.1+2911_daily_bin201.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.69
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9926       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.003       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9246       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.095       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.571       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.377       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.2473       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5364       1.0000         .10000E-03   10000.    
    12 'norm      '    13.274       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8584       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7635       1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .33064       1.0000         .10000E-03   10000.    
    18 'Prefactor '    43.315       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.9179       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .91073       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .37029       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.5273       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=   5123.837     FROM MIGRAD    STATUS=CONVERGED    579 CALLS     2759 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9921        4.1577       -.63512E-07   -.13043E-04
   2  norm          .10000E-03    .92779        .17766E-06** at limit **
   3  Prefactor     22.001        31.432        .11327E-05    .60759E-04
   4  Prefactor     1.9246        3.2213        .10469E-05    .71908E-03
   5  Prefactor     16.087        28.689        .11322E-05    .86345E-04
   6  Prefactor     .10000E-03    17.540        .38263E-07** at limit **
   7  Prefactor     30.568        32.275        .16953E-05    .11849E-03
   8  Prefactor     13.338        46.339       -.62159E-05   -.84975E-04
   9  Prefactor     7.2476        5.7187        .24059E-07    .76089E-04
  10  Prefactor     .10000E-03    2.4126       -.53786E-07** at limit **
  11  Prefactor     2.5361        2.4164       -.64269E-07    .87680E-04
  12  norm          13.274        7.9509       -.28055E-07    .39508E-04
  13  Prefactor     1.8581        3.5357        .61921E-07    .19256E-03
  14  Prefactor     .10000E-03    40.655       -.86642E-07** at limit **
  15  Prefactor     3.7634        4.4652        .41729E-07    .18265E-03
  16  norm          .10000E-03    4.1482        .97546E-07** at limit **
  17  Prefactor     .16479E-02    99.563       -.94111E-05** at limit **
  18  Prefactor     43.304        30.335       -.21758E-05   -.20783E-03
  19  Prefactor     .10000E-03    2.6948        .69128E-06** at limit **
  20  Prefactor     7.9167        8.1330        .13034E-08    .48586E-04
  21  Prefactor     .91085        2.0965       -.26898E-07    .17547E-04
  22  Prefactor     .10000E-03    10.684       -.56552E-07** at limit **
  23  Normalizat    .37039        .17968        .13692E-05    .26116E-03
  24  Prefactor     1.5273        .19996       -.52622E-06    .35090E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.99209
  norm       = 0.0001
  Prefactor  = 22.0007
  Prefactor  = 1.92463
  Prefactor  = 16.0867
  Prefactor  = 0.0001
  Prefactor  = 30.568
  Prefactor  = 13.3379
  Prefactor  = 7.24757
  Prefactor  = 0.0001
  Prefactor  = 2.53612
  norm       = 13.2738
  Prefactor  = 1.85809
  Prefactor  = 0.0001
  Prefactor  = 3.76341
  norm       = 0.0001
  Prefactor  = 0.00164786
  Prefactor  = 43.3044
  Prefactor  = 0.0001
  Prefactor  = 7.91666
  Prefactor  = 0.910848
  Prefactor  = 0.0001
  Normalizat = 0.370388
  Prefactor  = 1.52733
 **********
 **   18 **HESSE 
 **********

 FCN=   5123.837     FROM HESSE     STATUS=OK           409 CALLS     3168 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9921        4.1558        .11772E-03   -1.5218    
   2  norm          .10000E-03    .94519        .67265E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     22.001        31.420        .85391E-04   -1.4770    
   4  Prefactor     1.9246        3.2305        .79375E-03   -1.5430    
   5  Prefactor     16.087        28.606        .99833E-04   -1.4906    
   6  Prefactor     .10000E-03    17.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     30.568        32.234        .36233E-03   -1.4602    
   8  Prefactor     13.338        46.312        .10952E-03   -1.4977    
   9  Prefactor     7.2476        5.7085        .14426E-03   -1.5169    
  10  Prefactor     .10000E-03    2.4170        .10858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.5361        2.4006        .10250E-03   -1.5389    
  12  norm          13.274        7.9450        .10994E-03   -1.4979    
  13  Prefactor     1.8581        3.4557        .15859E-03   -1.5435    
  14  Prefactor     .10000E-03    40.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7634        4.3843        .13970E-03   -1.5320    
  16  norm          .10000E-03    4.1591        .14238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16479E-02    57.607        .14306       -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     43.304        30.395        .30457E-03   -1.4391    
  19  Prefactor     .10000E-03    2.7293        .11496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.9167        8.0427        .14250E-03   -1.5145    
  21  Prefactor     .91085        2.0457        .14625E-03   -1.5517    
  22  Prefactor     .10000E-03    10.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .37039        .19315        .33112E-03   -1.1886    
  24  Prefactor     1.5273        .22034        .20750E-03   -.76777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29634e-09
Minuit parameter uncertainties:
  1  4.156
  2  3.03367e-06
  3  31.4438
  4  3.23082
  5  28.6298
  6  8.06731e-06
  7  32.2526
  8  46.437
  9  5.70888
  10  3.79871e-06
  11  2.40072
  12  7.94568
  13  3.4561
  14  2.20519e-05
  15  4.38465
  16  9.3342e-06
  17  0.597793
  18  30.406
  19  5.24553e-05
  20  8.04382
  21  2.04589
  22  5.36581e-06
  23  0.193494
  24  0.220481
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.536e+00  2.401e+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.527e+00  2.205e-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:  3.704e-01  1.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.53
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.39e-08 +/- 3.20e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.28e-05

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

Saving results to:
/scratch/kocevski/654757/likelihoodResults_291427201_291686401_4FGL_J1001.1+2911_daily_bin201.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) = 5123.57024695
delta logL = 0.266626224816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5123.55427436
delta logL = 0.282598813357

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5136       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8429       1.0000          .0000       10.000    
     3 'Normalizat'    .34819       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5431       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=   5123.554     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      239 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5141        21.983        .86886E-02    .56488E-03
   2  Index         2.8429        3.1221        .16161        .89796E-04
   3  Normalizat    .34822        .45778E-01    .77029E-01    .45355E-04
   4  Prefactor     1.5432        .52725E-01    .46731E-01   -.91298E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.51415
  Index      = 2.8429
  Normalizat = 0.348224
  Prefactor  = 1.54318
 **********
 **   18 **HESSE 
 **********

 FCN=   5123.554     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5141        2.5561        .67850E-04   -1.5462    
   2  Index         2.8429        .99977        .55218E-02   -.44607    
   3  Normalizat    .34822        .18485        .34111E-03   -1.2007    
   4  Prefactor     1.5432        .22080        .20656E-03   -.76338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01039e-11
Minuit parameter uncertainties:
  1  2.55626
  2  1.00815
  3  0.185175
  4  0.220941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654757': 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) = 5123.55427398
delta logL = 0.282599194954

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.514e+00  2.556e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.843e+00  1.008e+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.543e+00  2.209e-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:  3.482e-01  1.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.13
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.84 +/- 1.01
Photon Flux (Free Index): 5.10e-08 +/- 4.32e-08
Energy Flux (Free Index): 1.11e-05 +/- 9.92e-06

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/654757/cmap_HighResolution_291427201_291686401_4FGL_J1001.1+2911_daily_bin201.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.87e-03', comment='SUCCESS', photon_flux='3.39e-08', energy_flux2='1.11e-05', photon_flux_error='3.20e-08', dlogl='2.83e-01', energy_flux='1.35e-05', photon_flux2='5.10e-08', job_status='DONE', time_completed='2021-09-01 10:00:00.933411', photon_index_error2='1.01', photon_index2='2.84', ts='1.53', fit_tolerance='1e-08', GAL='1.53', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='9.92e-06', EG='0.37', time_epoch_completed='1630515600.93', return_code='0', job_id='654757', GAL2='1.54', EG2='0.35', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='4.32e-08', ts2='2.13', photon_index='2.27' WHERE bin_id='201' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 654757: <4FGL_J1001.1+2911_daily_bin201> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin201 150.294 29.188 291427201 291686401 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 :                                   606.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            844 sec.

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

