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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin427
RA = 150.294, Dec = 29.188
tmin = 350006401, tmax = 350265601
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='656231', job_status='RUN', time_executed='2021-09-01 09:54:25.459299', time_epoch_executed='1630515265.46' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656231

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656231/ft1_4FGL_J1001.1+2911_daily_bin427.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656231/ft2_4FGL_J1001.1+2911_daily_bin427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656231/ft1_4FGL_J1001.1+2911_daily_bin427.fits outfile=/scratch/kocevski/656231/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin427.fits ra=150.294 dec=29.188 rad=12.0 tmin=350006401.0 tmax=350265601.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 4.02
user 3.77
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656231/ft1_filtered_4FGL_J1001.1+2911_daily_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/656231/ft2_4FGL_J1001.1+2911_daily_bin427.fits sctable="SC_DATA" expcube=/scratch/kocevski/656231/ltcube_350006401_350265601_4FGL_J1001.1+2911_daily_bin427.fits outfile=/scratch/kocevski/656231/expmap_350006401_350265601_4FGL_J1001.1+2911_daily_bin427.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/656231/ltcube_350006401_350265601_4FGL_J1001.1+2911_daily_bin427.fits
.....................!
real 192.72
user 187.09
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/656231/ft1_filtered_4FGL_J1001.1+2911_daily_bin427.fits scfile=/scratch/kocevski/656231/ft2_4FGL_J1001.1+2911_daily_bin427.fits outfile=/scratch/kocevski/656231/cmap_350006401_350265601_4FGL_J1001.1+2911_daily_bin427.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 2.50
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656231/ft1_filtered_4FGL_J1001.1+2911_daily_bin427.fits scfile=/scratch/kocevski/656231/ft2_4FGL_J1001.1+2911_daily_bin427.fits outfile=/scratch/kocevski/656231/cmap_HighResolution_350006401_350265601_4FGL_J1001.1+2911_daily_bin427.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6666       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4345       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .25756E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.354       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5498       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2919       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8123       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.755       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.3869       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .89044E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .84441       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3196       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=   5298.545     FROM MIGRAD    STATUS=CONVERGED    953 CALLS     2778 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6670        2.3822        .13213E-03   -.52487E-05
   2  norm          1.4354        1.9345        .11460E-03    .58628E-04
   3  Prefactor     .10000E-03    35.667        .18142E-02** at limit **
   4  Prefactor     .10000E-03    1.2544        .79419E-03** at limit **
   5  Prefactor     .10000E-03    25.253        .18142E-02** at limit **
   6  Prefactor     .10000E-03    35.149        .18142E-02** at limit **
   7  Prefactor     .10000E-03    358.47        .86350E-02** at limit **
   8  Prefactor     .10000E-03    36.330        .18142E-02** at limit **
   9  Prefactor     11.362        9.1088        .11889E-03    .24536E-03
  10  Prefactor     3.5520        5.8189        .21453E-03   -.19661E-04
  11  Prefactor     1.2930        1.9590        .61147E-03    .17341E-03
  12  norm          .10000E-03    8.3069        .18142E-02** at limit **
  13  Prefactor     .10000E-03    2.3775        .21567E-03** at limit **
  14  Prefactor     .10000E-03    9.7950        .18142E-02** at limit **
  15  Prefactor     2.8136        3.6610        .15149E-03    .10641E-03
  16  norm          .10000E-03    2.7830        .11854E-02** at limit **
  17  Prefactor     .10000E-03    34.801        .18142E-02** at limit **
  18  Prefactor     27.769        41.099        .76044E-04    .17791E-04
  19  Prefactor     5.3876        6.6810        .15451E-03    .45524E-03
  20  Prefactor     .10000E-03    7.8490        .18142E-02** at limit **
  21  Prefactor     .14096        12.291        .16053E-02    .13950E-02
  22  Prefactor     .10000E-03    47.009        .18142E-02** at limit **
  23  Normalizat    .84408        .20888        .25101E-03    .18565E-03
  24  Prefactor     1.3195        .23728        .23787E-03    .19596E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.667
  norm       = 1.43539
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.3623
  Prefactor  = 3.55205
  Prefactor  = 1.29295
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.8136
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.769
  Prefactor  = 5.38757
  Prefactor  = 0.0001
  Prefactor  = 0.140962
  Prefactor  = 0.0001
  Normalizat = 0.844079
  Prefactor  = 1.31954
 **********
 **   18 **HESSE 
 **********

 FCN=   5298.545     FROM HESSE     STATUS=OK           377 CALLS     3155 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6670        2.3821        .52851E-05   -1.5450    
   2  norm          1.4354        1.9344        .45841E-05   -1.5468    
   3  Prefactor     .10000E-03    35.669        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.2544        .15884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.256        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    35.150        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    373.68        .34540E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    36.331        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.362        9.1053        .47557E-05   -1.5034    
  10  Prefactor     3.5520        5.8184        .85810E-05   -1.5331    
  11  Prefactor     1.2930        1.9582        .24459E-04   -1.5481    
  12  norm          .10000E-03    8.3139        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.3775        .43133E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.7951        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.8136        3.6603        .60598E-05   -1.5372    
  16  norm          .10000E-03    2.7831        .23708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    34.803        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     27.769        41.119        .30418E-05   -1.4654    
  19  Prefactor     5.3876        6.6839        .61803E-05   -1.5244    
  20  Prefactor     .10000E-03    7.8536        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .14096        12.298        .32106E-03   -1.5633    
  22  Prefactor     .10000E-03    47.030        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84408        .20872        .10041E-04   -.98454    
  24  Prefactor     1.3195        .23740        .47575E-04   -.82728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52258e-10
Minuit parameter uncertainties:
  1  2.38227
  2  1.93444
  3  0.000124705
  4  1.86423e-06
  5  0.000145623
  6  8.12721e-05
  7  0.000536643
  8  0.000102931
  9  9.10642
  10  5.81937
  11  1.95833
  12  1.92747e-05
  13  3.42418e-06
  14  8.97921e-06
  15  3.66055
  16  7.7504e-06
  17  0.000139896
  18  41.1609
  19  6.68486
  20  3.80728e-06
  21  2.63295
  22  0.00024284
  23  0.208917
  24  0.237591
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.293e+00  1.958e+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.320e+00  2.376e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  8.441e-01  2.089e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/656231/likelihoodResults_350006401_350265601_4FGL_J1001.1+2911_daily_bin427.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) = 5298.48244209
delta logL = 0.0624128307991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5298.47993383
delta logL = 0.0649210935017

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0033       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6494       1.0000          .0000       10.000    
     3 'Normalizat'    .83557       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3251       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=   5298.480     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      230 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0032        40.258        .13588E-02    .64869E-03
   2  Index         2.6493        6.3238        .23043        .29596E-04
   3  Normalizat    .83555        .50616E-01    .44073E-01    .14721E-04
   4  Prefactor     1.3251        .54312E-01    .53701E-01    .16241E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00319
  Index      = 2.64927
  Normalizat = 0.835552
  Prefactor  = 1.3251
 **********
 **   18 **HESSE 
 **********

 FCN=   5298.480     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0032        1.9972        .54352E-04   -1.5508    
   2  Index         2.6493        1.1947        .82881E-02   -.48946    
   3  Normalizat    .83555        .20534        .25216E-03   -.98763    
   4  Prefactor     1.3251        .23611        .23743E-03   -.82564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33188e-10
Minuit parameter uncertainties:
  1  1.99731
  2  1.20983
  3  0.205535
  4  0.236298
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656231': 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) = 5298.4799338
delta logL = 0.0649211223836

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.003e+00  1.997e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.649e+00  1.210e+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.325e+00  2.363e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  8.356e-01  2.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.62
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/656231/cmap_HighResolution_350006401_350265601_4FGL_J1001.1+2911_daily_bin427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.56e-03', job_status='DONE', photon_flux_upper_limit='8.57e-08', time_completed='2021-09-01 10:05:00.173941', job_id='656231', GAL2='1.33', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1630515900.17', return_code2='0', ts='0.62', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='6.49e-02', ts2='0.75', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='427' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:05:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 656231: <4FGL_J1001.1+2911_daily_bin427> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin427> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 09:50:54 2021
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:50:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 09:50:55 2021
Terminated at Wed Sep  1 10:05:01 2021
Results reported at Wed Sep  1 10:05:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin427 150.294 29.188 350006401 350265601 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 :                                   630.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            847 sec.

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

