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


Performing analysis on: 4FGL_J1135.1+3014_daily_bin1006
RA = 173.788, Dec = 30.2344
tmin = 500083201, tmax = 500342401
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='932229', job_status='RUN', time_executed='2021-09-04 04:13:26.427827', time_epoch_executed='1630754006.43' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='1006'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/932229

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/932229/ft1_4FGL_J1135.1+3014_daily_bin1006.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/932229/ft2_4FGL_J1135.1+3014_daily_bin1006.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/932229/ft1_4FGL_J1135.1+3014_daily_bin1006.fits outfile=/scratch/kocevski/932229/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1006.fits ra=173.788 dec=30.2344 rad=12.0 tmin=500083201.0 tmax=500342401.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 5.63
user 5.38
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/932229/ft2_4FGL_J1135.1+3014_daily_bin1006.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/932229/ft2_4FGL_J1135.1+3014_daily_bin1006.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/932229/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1006.fits evtable="EVENTS" outfile="/scratch/kocevski/932229/ft1_filtered_4FGL_J1135.1+3014_daily_bin1006.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/932229/ft1_filtered_4FGL_J1135.1+3014_daily_bin1006.fits" evtable="EVENTS" scfile=/scratch/kocevski/932229/ft2_4FGL_J1135.1+3014_daily_bin1006.fits sctable="SC_DATA" outfile=/scratch/kocevski/932229/ltcube_500083201_500342401_4FGL_J1135.1+3014_daily_bin1006.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/932229/ft2_4FGL_J1135.1+3014_daily_bin1006.fits
.....................!
real 11.98
user 11.65
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/932229/ft1_filtered_4FGL_J1135.1+3014_daily_bin1006.fits evtable="EVENTS" scfile=/scratch/kocevski/932229/ft2_4FGL_J1135.1+3014_daily_bin1006.fits sctable="SC_DATA" expcube=/scratch/kocevski/932229/ltcube_500083201_500342401_4FGL_J1135.1+3014_daily_bin1006.fits outfile=/scratch/kocevski/932229/expmap_500083201_500342401_4FGL_J1135.1+3014_daily_bin1006.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/932229/ltcube_500083201_500342401_4FGL_J1135.1+3014_daily_bin1006.fits
.....................!
real 189.88
user 185.08
sys 4.42

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 197 point sources and 0 extended sources

Setting source of interest to:
4FGL J1135.1+3014 @ 173.788 30.2344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/932229/ft1_filtered_4FGL_J1135.1+3014_daily_bin1006.fits scfile=/scratch/kocevski/932229/ft2_4FGL_J1135.1+3014_daily_bin1006.fits outfile=/scratch/kocevski/932229/cmap_500083201_500342401_4FGL_J1135.1+3014_daily_bin1006.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=173.788 yref=30.2344 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/932229/ft1_filtered_4FGL_J1135.1+3014_daily_bin1006.fits scfile=/scratch/kocevski/932229/ft2_4FGL_J1135.1+3014_daily_bin1006.fits outfile=/scratch/kocevski/932229/cmap_HighResolution_500083201_500342401_4FGL_J1135.1+3014_daily_bin1006.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=173.788 yref=30.2344 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.68
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/932229/ft1_filtered_4FGL_J1135.1+3014_daily_bin1006.fits evtable="EVENTS" scfile=/scratch/kocevski/932229/ft2_4FGL_J1135.1+3014_daily_bin1006.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/932229/Model_4FGL_J1135.1+3014_daily_bin1006.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/932229/ft1_filtered_4FGL_J1135.1+3014_daily_bin1006.fits.....................!
real 49.21
user 47.18
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/932229/ft1_filtered_4FGL_J1135.1+3014_daily_bin1006.fits', '/scratch/kocevski/932229/ft2_4FGL_J1135.1+3014_daily_bin1006.fits', expMap='/scratch/kocevski/932229/expmap_500083201_500342401_4FGL_J1135.1+3014_daily_bin1006.fits', expCube='/scratch/kocevski/932229/ltcube_500083201_500342401_4FGL_J1135.1+3014_daily_bin1006.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/932229/Model_4FGL_J1135.1+3014_daily_bin1006.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1135.1+3014'

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  2.132e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.179e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/932229/ft1_filtered_4FGL_J1135.1+3014_daily_bin1006.fits
Spacecraft file(s): /scratch/kocevski/932229/ft2_4FGL_J1135.1+3014_daily_bin1006.fits
Exposure map: /scratch/kocevski/932229/expmap_500083201_500342401_4FGL_J1135.1+3014_daily_bin1006.fits
Exposure cube: /scratch/kocevski/932229/ltcube_500083201_500342401_4FGL_J1135.1+3014_daily_bin1006.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/932229/Model_4FGL_J1135.1+3014_daily_bin1006.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) = 5194.23186654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.377       1.0000         .10000E-03   10000.    
     3 'norm      '    .54417       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2591       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.220       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    18.029       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    30.328       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.935       1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.459       1.0000         .10000E-03   10000.    
    14 'norm      '    .15962E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.5223       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.340       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    42.395       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.5818       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.1045       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .25629E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    2.2736       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.5444       1.0000         .10000E-03   10000.    
    26 'Prefactor '    23.126       1.0000         .10000E-03   10000.    
    27 'norm      '    9.0504       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.3038       1.0000         .10000E-03   10000.    
    30 'Prefactor '    1.8138       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .39989       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.4813       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5194.189     FROM MIGRAD    STATUS=CONVERGED    877 CALLS     4437 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 13.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.230       -.19058E-06** at limit **
   2  Prefactor     12.376        13.588       -.67154E-07    .72720E-04
   3  norm          .54413        .25354       -.33357E-09    .41507E-03
   4  Prefactor     3.2595        3.6703       -.16813E-06    .26033E-03
   5  Prefactor     13.220        12.133        .83194E-07    .76033E-04
   6  Prefactor     .10000E-03    9.4737       -.25336E-06** at limit **
   7  norm          18.021        17.909        .33567E-06    .16820E-03
   8  Prefactor     .10000E-03    5.6686       -.27628E-06** at limit **
   9  norm          30.342        18.218       -.37778E-06    .16577E-03
  10  Prefactor     .10000E-03    5.4452       -.12214E-06** at limit **
  11  Prefactor     .10000E-03    1.4131       -.18809E-06** at limit **
  12  Prefactor     20.808        37.811        .65579E-06    .40620E-04
  13  Prefactor     30.462        23.238        .14082E-06    .15775E-03
  14  norm          .10001E-03    3.4967        .40801E-05** at limit **
  15  Prefactor     6.5224        13.096       -.41544E-06    .10819E-03
  16  Prefactor     12.340        7.0563        .23072E-06    .77208E-03
  17  Prefactor     .10000E-03    16.496       -.13468E-06** at limit **
  18  norm          .10000E-03    .34420       -.11888E-06** at limit **
  19  Prefactor     42.403        37.548        .49342E-06    .27542E-03
  20  Prefactor     3.5879        16.989       -.12485E-05    .60541E-04
  21  Prefactor     2.1036        3.6798       -.37866E-06    .22862E-03
  22  Prefactor     .10331E-03    178.30       -.31434E-04** at limit **
  23  Prefactor     .10000E-03    23.716       -.18042E-06** at limit **
  24  norm          2.2737        1.2652       -.19844E-07    .80560E-03
  25  Prefactor     4.5454        5.0806        .11653E-06    .35305E-03
  26  Prefactor     23.125        31.892       -.84535E-06    .22059E-03
  27  norm          9.0503        3.6826       -.26288E-07    .18017E-03
  28  Prefactor     .10000E-03    4.3336       -.13309E-06** at limit **
  29  Prefactor     1.3038        1.3638       -.31581E-07   -.17525E-03
  30  Prefactor     1.8139        1.8153       -.55860E-07    .20412E-04
  31  Normalizat    .39982        .22436        .52146E-05    .58466E-03
  32  Prefactor     1.4812        .24471       -.15949E-05    .38049E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.3761
  norm       = 0.544135
  Prefactor  = 3.25951
  Prefactor  = 13.2195
  Prefactor  = 0.0001
  norm       = 18.0211
  Prefactor  = 0.0001
  norm       = 30.3423
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.8081
  Prefactor  = 30.4624
  norm       = 0.000100013
  Prefactor  = 6.52243
  Prefactor  = 12.3401
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 42.4029
  Prefactor  = 3.58787
  Prefactor  = 2.10364
  Prefactor  = 0.00010331
  Prefactor  = 0.0001
  norm       = 2.27368
  Prefactor  = 4.54539
  Prefactor  = 23.125
  norm       = 9.05027
  Prefactor  = 0.0001
  Prefactor  = 1.3038
  Prefactor  = 1.8139
  Normalizat = 0.399819
  Prefactor  = 1.48123
 **********
 **   18 **HESSE 
 **********

 FCN=   5194.189     FROM HESSE     STATUS=OK           671 CALLS     5108 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.376        13.553        .11386E-03   -1.5004    
   3  norm          .54413        .25401        .23788E-04   -1.5560    
   4  Prefactor     3.2595        3.6487        .12954E-03   -1.5347    
   5  Prefactor     13.220        12.118        .11016E-03   -1.4981    
   6  Prefactor     .10000E-03    9.5167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.021        17.865        .94328E-04   -1.4859    
   8  Prefactor     .10000E-03    5.8131        .16768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          30.342        18.193        .72754E-04   -1.4606    
  10  Prefactor     .10000E-03    5.4584        .16427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.4491        .83935E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.808        38.003        .87540E-04   -1.4795    
  13  Prefactor     30.462        23.162        .72598E-04   -1.4604    
  14  norm          .10001E-03    5.0755        .15995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.5224        13.053        .15714E-03   -1.5197    
  16  Prefactor     12.340        7.0591        .11403E-03   -1.5005    
  17  Prefactor     .10000E-03    16.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .35571        .82749E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     42.403        36.626        .61568E-04   -1.4405    
  20  Prefactor     3.5879        16.823        .21353E-03   -1.5329    
  21  Prefactor     2.1036        3.5811        .13928E-03   -1.5418    
  22  Prefactor     .10331E-03    32.710        .10033       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    23.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.2737        1.2605        .57391E-04   -1.5406    
  25  Prefactor     4.5454        5.0618        .16326E-03   -1.5282    
  26  Prefactor     23.125        31.732        .83294E-04   -1.4746    
  27  norm          9.0503        3.6773        .84379E-04   -1.5106    
  28  Prefactor     .10000E-03    4.3524        .14655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     1.3038        1.3792        .83348E-04   -1.5480    
  30  Prefactor     1.8139        1.8173        .93637E-04   -1.5439    
  31  Normalizat    .39982        .24620        .38317E-03   -1.1731    
  32  Prefactor     1.4812        .27121        .24527E-03   -.78067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17138e-09
Minuit parameter uncertainties:
  1  4.89168e-05
  2  13.556
  3  0.254008
  4  3.64894
  5  12.1206
  6  7.22435e-05
  7  17.8704
  8  5.83666e-05
  9  18.1967
  10  2.42258e-05
  11  2.04703e-05
  12  38.0472
  13  23.1686
  14  0.000518576
  15  13.0585
  16  7.05962
  17  5.66893e-05
  18  5.77485e-06
  19  36.6451
  20  15.5453
  21  3.58149
  22  0.0208207
  23  5.66632e-05
  24  1.26054
  25  5.06227
  26  31.7549
  27  3.67741
  28  1.88974e-05
  29  1.37928
  30  1.81733
  31  0.246869
  32  0.271471
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  6.522e+00  1.306e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.179e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
618    Prefactor:  1.481e+00  2.715e-01  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  3.998e-01  2.469e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.37
Ra Dec: 173.788 30.234
Photon Flux Upper Limit: 9.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/932229/likelihoodResults_500083201_500342401_4FGL_J1135.1+3014_daily_bin1006.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) = 5194.14497007
delta logL = 0.0439299879527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5194.14368547
delta logL = 0.0452145939626

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3574       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0722       1.0000          .0000       10.000    
     3 'Normalizat'    .40401       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4768       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+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=   5194.144     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      306 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4012        17.692        .65506E-03   -.26849E-04
   2  Index         2.0755        .93893        .10543E-01    .10528E-03
   3  Normalizat    .40395        .22459        .38126E-03   -.43654E-04
   4  Prefactor     1.4766        .26522        .24556E-03   -.89260E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4012
  Index      = 2.07545
  Normalizat = 0.403953
  Prefactor  = 1.4766
 **********
 **   18 **HESSE 
 **********

 FCN=   5194.144     FROM HESSE     STATUS=OK            25 CALLS      331 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4012        17.277        .26202E-04   -1.5095    
   2  Index         2.0755        .91759        .21086E-02   -.62477    
   3  Normalizat    .40395        .22460        .15251E-04   -1.1710    
   4  Prefactor     1.4766        .26524        .49113E-04   -.78197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31734e-11
Minuit parameter uncertainties:
  1  17.2859
  2  0.925603
  3  0.225103
  4  0.265483
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/932229': 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) = 5194.14366997
delta logL = 0.0452300912584

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  9.401e+00  1.729e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.075e+00  9.256e-01  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  1.179e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
618    Prefactor:  1.477e+00  2.655e-01  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  4.040e-01  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.37
Ra Dec: 173.788 30.234

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/932229/cmap_HighResolution_500083201_500342401_4FGL_J1135.1+3014_daily_bin1006.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.70e-03', job_status='DONE', photon_flux_upper_limit='9.99e-08', time_completed='2021-09-04 04:27:48.709233', job_id='932229', GAL2='1.48', fit_tolerance='1e-08', EG2='0.40', EG='0.40', time_epoch_completed='1630754868.71', return_code2='0', ts='0.37', comment='SUCCESS', return_code='0', GAL='1.48', dlogl='4.52e-02', ts2='0.46', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1006' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:27:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 932229: <4FGL_J1135.1+3014_daily_bin1006> in cluster <slac> Done

Job <4FGL_J1135.1+3014_daily_bin1006> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Sep  4 04:11:17 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:11:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 04:11:18 2021
Terminated at Sat Sep  4 04:27:49 2021
Results reported at Sat Sep  4 04:27:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin1006 173.788 30.2344 500083201 500342401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1135.1+3014 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   856.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            992 sec.

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

