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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin479
RA = 150.294, Dec = 29.188
tmin = 363484801, tmax = 363744001
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='656300', job_status='RUN', time_executed='2021-09-01 09:55:06.612118', time_epoch_executed='1630515306.61' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='479'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656300

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656300/ft1_4FGL_J1001.1+2911_daily_bin479.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656300/ft2_4FGL_J1001.1+2911_daily_bin479.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656300/ft1_4FGL_J1001.1+2911_daily_bin479.fits outfile=/scratch/kocevski/656300/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin479.fits ra=150.294 dec=29.188 rad=12.0 tmin=363484801.0 tmax=363744001.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.82
user 3.52
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656300/ft1_filtered_4FGL_J1001.1+2911_daily_bin479.fits evtable="EVENTS" scfile=/scratch/kocevski/656300/ft2_4FGL_J1001.1+2911_daily_bin479.fits sctable="SC_DATA" expcube=/scratch/kocevski/656300/ltcube_363484801_363744001_4FGL_J1001.1+2911_daily_bin479.fits outfile=/scratch/kocevski/656300/expmap_363484801_363744001_4FGL_J1001.1+2911_daily_bin479.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/656300/ltcube_363484801_363744001_4FGL_J1001.1+2911_daily_bin479.fits
.....................!
real 190.02
user 185.25
sys 4.19

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/656300/ft1_filtered_4FGL_J1001.1+2911_daily_bin479.fits scfile=/scratch/kocevski/656300/ft2_4FGL_J1001.1+2911_daily_bin479.fits outfile=/scratch/kocevski/656300/cmap_363484801_363744001_4FGL_J1001.1+2911_daily_bin479.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656300/ft1_filtered_4FGL_J1001.1+2911_daily_bin479.fits scfile=/scratch/kocevski/656300/ft2_4FGL_J1001.1+2911_daily_bin479.fits outfile=/scratch/kocevski/656300/cmap_HighResolution_363484801_363744001_4FGL_J1001.1+2911_daily_bin479.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0915       1.0000         .10000E-03   10000.    
     2 'norm      '    1.6677       1.0000         .10000E-03   10000.    
     3 'Prefactor '    50.943       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8070       1.0000         .10000E-03   10000.    
     5 'Prefactor '    52.364       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.038       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .43960E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10667E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .35115       1.0000         .10000E-03   10000.    
    12 'norm      '    5.5145       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.8347       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10715E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.7200       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .54350E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.4618       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19898       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.0885       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97391       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0913       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=   5497.087     FROM MIGRAD    STATUS=CONVERGED    980 CALLS     3218 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0914        2.9806        .12202E-03    .40528E-04
   2  norm          1.6679        1.7777        .97977E-04   -.43165E-04
   3  Prefactor     50.945        49.874        .56189E-04   -.45727E-05
   4  Prefactor     4.8071        5.4939        .16970E-03   -.79187E-04
   5  Prefactor     52.368        33.633        .55425E-04    .28717E-04
   6  Prefactor     11.082        48.235        .12059E-03   -.26869E-04
   7  Prefactor     .10003E-03    291.66        .78767E-02** at limit **
   8  Prefactor     .10000E-03    122.22        .18142E-02** at limit **
   9  Prefactor     .10000E-03    1.7741        .96360E-03** at limit **
  10  Prefactor     .10000E-03    5.1842        .16435E-02** at limit **
  11  Prefactor     .35193        3.1185        .18508E-02    .80662E-03
  12  norm          5.5157        8.9940        .17110E-03   -.16346E-04
  13  Prefactor     8.8342        4.3112        .10211E-03   -.12014E-03
  14  Prefactor     .10000E-03    11.309        .18142E-02** at limit **
  15  Prefactor     .10000E-03    1.5661        .90325E-03** at limit **
  16  norm          .10000E-03    2.3846        .11179E-02** at limit **
  17  Prefactor     .10000E-03    55.788        .18142E-02** at limit **
  18  Prefactor     8.6992        21.228        .13574E-03   -.16055E-03
  19  Prefactor     .10000E-03    13.611        .22269E-02** at limit **
  20  Prefactor     2.4619        6.1859        .26065E-03   -.17049E-03
  21  Prefactor     .19942        6.2941        .16655E-02   -.37295E-03
  22  Prefactor     7.0921        24.781        .75335E-03   -.10843E-03
  23  Normalizat    .97387        .21219        .24373E-03   -.31626E-04
  24  Prefactor     1.0913        .23102        .25605E-03   -.12730E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.09144
  norm       = 1.66787
  Prefactor  = 50.9449
  Prefactor  = 4.80714
  Prefactor  = 52.3678
  Prefactor  = 11.0821
  Prefactor  = 0.000100029
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.351933
  norm       = 5.51566
  Prefactor  = 8.83422
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.69916
  Prefactor  = 0.000100001
  Prefactor  = 2.46189
  Prefactor  = 0.199425
  Prefactor  = 7.09207
  Normalizat = 0.973871
  Prefactor  = 1.0913
 **********
 **   18 **HESSE 
 **********

 FCN=   5497.087     FROM HESSE     STATUS=OK           377 CALLS     3595 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0914        2.9805        .48809E-05   -1.5356    
   2  norm          1.6679        1.7775        .39191E-05   -1.5450    
   3  Prefactor     50.945        49.870        .11238E-04   -1.4279    
   4  Prefactor     4.8071        5.4918        .67878E-05   -1.5269    
   5  Prefactor     52.368        33.635        .22170E-05   -1.4259    
   6  Prefactor     11.082        48.272        .48236E-05   -1.5042    
   7  Prefactor     .10003E-03    304.24        .31507E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    122.26        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.7741        .19272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.1852        .32870E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .35193        3.1061        .74033E-04   -1.5589    
  12  norm          5.5157        8.9929        .68438E-05   -1.5238    
  13  Prefactor     8.8342        4.3108        .40843E-05   -1.5113    
  14  Prefactor     .10000E-03    11.309        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.5662        .18065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.3846        .22359E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    55.797        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.6992        21.160        .54296E-05   -1.5118    
  19  Prefactor     .10000E-03    13.677        .44538E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.4619        6.1730        .10426E-04   -1.5394    
  21  Prefactor     .19942        6.2668        .66619E-04   -1.5619    
  22  Prefactor     7.0921        24.777        .30134E-04   -1.5175    
  23  Normalizat    .97387        .21225        .97491E-05   -.93911    
  24  Prefactor     1.0913        .23114        .10242E-04   -.89745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5205e-09
Minuit parameter uncertainties:
  1  2.98067
  2  1.77758
  3  49.9106
  4  5.49235
  5  33.6472
  6  46.3213
  7  0.00595979
  8  0.000197035
  9  1.09205e-06
  10  1.29987e-05
  11  2.09093
  12  8.99513
  13  4.31092
  14  2.59714e-06
  15  4.28424e-06
  16  1.62928e-06
  17  8.68256e-05
  18  21.1779
  19  0.000246801
  20  6.17461
  21  2.23555
  22  24.8125
  23  0.212437
  24  0.231349
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.519e-01  2.091e+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.091e+00  2.313e-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:  9.739e-01  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/656300/likelihoodResults_363484801_363744001_4FGL_J1001.1+2911_daily_bin479.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) = 5497.05463942
delta logL = 0.0323407695132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5497.0319968
delta logL = 0.0549833943996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84984       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8534       1.0000          .0000       10.000    
     3 'Normalizat'    .97723       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0849       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5497.032     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      256 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85074        2.4606        .19234E-03    .28371E-05
   2  Index         1.8537        1.0032        .14666E-01   -.10372E-05
   3  Normalizat    .97747        .20421        .24332E-03    .10279E-05
   4  Prefactor     1.0846        .22785        .25672E-03   -.19043E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.850745
  Index      = 1.85373
  Normalizat = 0.977466
  Prefactor  = 1.08461
 **********
 **   18 **HESSE 
 **********

 FCN=   5497.032     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .44E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .85074        2.4535        .76938E-05   -1.5523    
   2  Index         1.8537        1.0011        .58663E-03   -.68059    
   3  Normalizat    .97747        .20440        .97327E-05   -.93789    
   4  Prefactor     1.0846        .22806        .10269E-04   -.89960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41232e-14
Minuit parameter uncertainties:
  1  2.4538
  2  1.01247
  3  0.204568
  4  0.22827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656300': 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) = 5497.03199558
delta logL = 0.0549846157537

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  8.507e-01  2.454e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.854e+00  1.012e+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.085e+00  2.283e-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:  9.775e-01  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/656300/cmap_HighResolution_363484801_363744001_4FGL_J1001.1+2911_daily_bin479.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.06e-03', job_status='DONE', photon_flux_upper_limit='7.91e-08', time_completed='2021-09-01 10:06:05.152777', job_id='656300', GAL2='1.08', fit_tolerance='1e-08', EG2='0.98', EG='0.97', time_epoch_completed='1630515965.15', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='5.50e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='479' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:06:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 656300: <4FGL_J1001.1+2911_daily_bin479> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin479> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 09:51:01 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:51:02 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:51:02 2021
Terminated at Wed Sep  1 10:06:05 2021
Results reported at Wed Sep  1 10:06:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin479 150.294 29.188 363484801 363744001 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 :                                   654.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             237.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            904 sec.

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

