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


Performing analysis on: 4FGL_J1135.1+3014_daily_bin1410
RA = 173.788, Dec = 30.2344
tmin = 604800001, tmax = 605059201
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='935440', job_status='RUN', time_executed='2021-09-04 04:21:50.756820', time_epoch_executed='1630754510.76' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/935440

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/935440/ft1_4FGL_J1135.1+3014_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/935440/ft2_4FGL_J1135.1+3014_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/935440/ft1_4FGL_J1135.1+3014_daily_bin1410.fits outfile=/scratch/kocevski/935440/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1410.fits ra=173.788 dec=30.2344 rad=12.0 tmin=604800001.0 tmax=605059201.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.07
user 4.80
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/935440/ft2_4FGL_J1135.1+3014_daily_bin1410.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/935440/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1410.fits evtable="EVENTS" outfile="/scratch/kocevski/935440/ft1_filtered_4FGL_J1135.1+3014_daily_bin1410.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.66
user 0.34
sys 0.28

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/935440/ft1_filtered_4FGL_J1135.1+3014_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/935440/ft2_4FGL_J1135.1+3014_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/935440/ltcube_604800001_605059201_4FGL_J1135.1+3014_daily_bin1410.fits outfile=/scratch/kocevski/935440/expmap_604800001_605059201_4FGL_J1135.1+3014_daily_bin1410.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/935440/ltcube_604800001_605059201_4FGL_J1135.1+3014_daily_bin1410.fits
.....................!
real 193.01
user 187.20
sys 5.37

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/935440/ft1_filtered_4FGL_J1135.1+3014_daily_bin1410.fits scfile=/scratch/kocevski/935440/ft2_4FGL_J1135.1+3014_daily_bin1410.fits outfile=/scratch/kocevski/935440/cmap_604800001_605059201_4FGL_J1135.1+3014_daily_bin1410.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/935440/ft1_filtered_4FGL_J1135.1+3014_daily_bin1410.fits scfile=/scratch/kocevski/935440/ft2_4FGL_J1135.1+3014_daily_bin1410.fits outfile=/scratch/kocevski/935440/cmap_HighResolution_604800001_605059201_4FGL_J1135.1+3014_daily_bin1410.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/935440/ft1_filtered_4FGL_J1135.1+3014_daily_bin1410.fits', '/scratch/kocevski/935440/ft2_4FGL_J1135.1+3014_daily_bin1410.fits', expMap='/scratch/kocevski/935440/expmap_604800001_605059201_4FGL_J1135.1+3014_daily_bin1410.fits', expCube='/scratch/kocevski/935440/ltcube_604800001_605059201_4FGL_J1135.1+3014_daily_bin1410.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/935440/Model_4FGL_J1135.1+3014_daily_bin1410.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/935440/ft1_filtered_4FGL_J1135.1+3014_daily_bin1410.fits
Spacecraft file(s): /scratch/kocevski/935440/ft2_4FGL_J1135.1+3014_daily_bin1410.fits
Exposure map: /scratch/kocevski/935440/expmap_604800001_605059201_4FGL_J1135.1+3014_daily_bin1410.fits
Exposure cube: /scratch/kocevski/935440/ltcube_604800001_605059201_4FGL_J1135.1+3014_daily_bin1410.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/935440/Model_4FGL_J1135.1+3014_daily_bin1410.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) = 5229.95815491

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .78744       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    41.397       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10600E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10579E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.2754       1.0000         .10000E-03   10000.    
     9 'norm      '    10.304       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.1259       1.0000         .10000E-03   10000.    
    14 'norm      '    5.9515       1.0000         .10000E-03   10000.    
    15 'Prefactor '    36.136       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    64.766       1.0000         .10000E-03   10000.    
    18 'norm      '    1.2848       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.6814       1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.098       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .92863       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.0011       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    27.130       1.0000         .10000E-03   10000.    
    27 'norm      '    6.5929       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    1.8911       1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.0703       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .81399       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=   5229.927     FROM MIGRAD    STATUS=CONVERGED    832 CALLS     4365 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.121       -.77503E-07** at limit **
   2  Prefactor     .10000E-03    17.210        .51071E-07** at limit **
   3  norm          .78738        .30272       -.67492E-08    .11154E-02
   4  Prefactor     .10003E-03    21.961        .10156E-04** at limit **
   5  Prefactor     41.387        22.595       -.16560E-06    .23366E-03
   6  Prefactor     .10000E-03    11.293       -.11000E-06** at limit **
   7  norm          .10000E-03    10.253       -.20934E-06** at limit **
   8  Prefactor     8.2740        7.2327       -.76103E-07   -.94471E-04
   9  norm          10.301        16.099        .33413E-06    .10593E-03
  10  Prefactor     .10000E-03    9.3456       -.46400E-07** at limit **
  11  Prefactor     .10000E-03    1.1768       -.10443E-07** at limit **
  12  Prefactor     .10000E-03    29.165       -.34509E-06** at limit **
  13  Prefactor     9.1246        17.286        .33403E-08    .44021E-04
  14  norm          5.9520        3.5273       -.16445E-06    .44321E-03
  15  Prefactor     36.136        21.156       -.55639E-07    .58112E-04
  16  Prefactor     .10000E-03    2.4174       -.75943E-07** at limit **
  17  Prefactor     64.728        55.916        .69136E-06    .12434E-03
  18  norm          1.2855        1.0750       -.10999E-06   -.97443E-03
  19  Prefactor     7.6835        14.364        .56301E-06    .15406E-03
  20  Prefactor     17.095        19.770       -.13218E-07    .74628E-04
  21  Prefactor     .92660        1.5987       -.93938E-06   -.14122E-02
  22  Prefactor     .10000E-03    15.577        .24853E-06** at limit **
  23  Prefactor     .10000E-03    34.317        .44017E-06** at limit **
  24  norm          1.0001        1.5237       -.10929E-06    .12896E-02
  25  Prefactor     .10000E-03    1.8522       -.83828E-08** at limit **
  26  Prefactor     27.130        25.783       -.18917E-06   -.52174E-05
  27  norm          6.5927        3.5716        .89485E-08    .10407E-03
  28  Prefactor     .10000E-03    3.3491       -.67385E-07** at limit **
  29  Prefactor     .10000E-03    1.0782        .15752E-07** at limit **
  30  Prefactor     1.8908        3.0765       -.84135E-07    .95461E-03
  31  Normalizat    1.0703        .20959        .40739E-05    .56123E-03
  32  Prefactor     .81405        .22166       -.26755E-05   -.48943E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.787379
  Prefactor  = 0.000100031
  Prefactor  = 41.3873
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.27401
  norm       = 10.3013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.1246
  norm       = 5.95196
  Prefactor  = 36.1356
  Prefactor  = 0.0001
  Prefactor  = 64.7284
  norm       = 1.28545
  Prefactor  = 7.68353
  Prefactor  = 17.0947
  Prefactor  = 0.926598
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.00011
  Prefactor  = 0.0001
  Prefactor  = 27.1296
  norm       = 6.59267
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.89078
  Normalizat = 1.0703
  Prefactor  = 0.814049
 **********
 **   18 **HESSE 
 **********

 FCN=   5229.927     FROM HESSE     STATUS=OK           657 CALLS     5022 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.611        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .78738        .30383        .23208E-04   -1.5531    
   4  Prefactor     .10003E-03    23.579        .20021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     41.387        22.694        .62303E-04   -1.4420    
   6  Prefactor     .10000E-03    11.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    10.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.2740        7.2338        .13936E-03   -1.5133    
   9  norm          10.301        16.073        .12482E-03   -1.5066    
  10  Prefactor     .10000E-03    9.3986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.1905        .76505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    29.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.1246        17.249        .13267E-03   -1.5104    
  14  norm          5.9520        3.5086        .96064E-04   -1.5220    
  15  Prefactor     36.136        21.144        .66668E-04   -1.4505    
  16  Prefactor     .10000E-03    2.4282        .10980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     64.728        55.910        .49867E-04   -1.4097    
  18  norm          1.2855        1.0853        .63637E-04   -1.5481    
  19  Prefactor     7.6835        14.352        .14469E-03   -1.5154    
  20  Prefactor     17.095        19.760        .96862E-04   -1.4881    
  21  Prefactor     .92660        1.5510        .12594E-02   -1.5515    
  22  Prefactor     .10000E-03    15.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    34.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.0001        1.4804        .10173E-03   -1.5508    
  25  Prefactor     .10000E-03    1.8569        .96104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     27.130        25.786        .76914E-04   -1.4666    
  27  norm          6.5927        3.5547        .92125E-04   -1.5194    
  28  Prefactor     .10000E-03    3.3568        .12926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    1.0837        .73151E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     1.8908        3.0493        .14648E-03   -1.5433    
  31  Normalizat    1.0703        .24540        .25474E-03   -.90711    
  32  Prefactor     .81405        .25837        .31454E-03   -.99213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9135e-09
Minuit parameter uncertainties:
  1  2.10864e-05
  2  5.81308e-05
  3  0.303831
  4  0.00170831
  5  22.699
  6  0.000137509
  7  0.000134055
  8  7.23458
  9  16.0796
  10  1.25526e-05
  11  8.98334e-06
  12  7.68434e-05
  13  17.2584
  14  3.50871
  15  21.1486
  16  5.41475e-06
  17  55.9558
  18  1.08531
  19  14.3585
  20  19.768
  21  1.55108
  22  2.52139e-05
  23  8.98524e-05
  24  1.48047
  25  6.06844e-07
  26  25.7962
  27  3.55477
  28  1.32485e-07
  29  6.10693e-06
  30  3.0496
  31  0.245663
  32  0.258753
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  3.614e+01  2.115e+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:  8.140e-01  2.588e-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:  1.070e+00  2.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.93
Ra Dec: 173.788 30.234
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 9.23e-08 +/- 5.40e-08
Energy Flux (Fixed Index): 3.12e-05 +/- 1.83e-05

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) = 5229.33824235
delta logL = 0.588487137264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5229.33416029
delta logL = 0.592569194793

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.063       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8079       1.0000          .0000       10.000    
     3 'Normalizat'    1.1183       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79311       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=   5229.334     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      232 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 41.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.062        21.833       -.21057E-05    .80994E-03
   2  Index         1.8080        .33722        .42217E-05    .40817E-03
   3  Normalizat    1.1186        .19830       -.31784E-06   -.18257E-03
   4  Prefactor     .79274        .21618        .30760E-06   -.10517E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.0619
  Index      = 1.80796
  Normalizat = 1.11864
  Prefactor  = 0.792745
 **********
 **   18 **HESSE 
 **********

 FCN=   5229.334     FROM HESSE     STATUS=OK            29 CALLS      261 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.062        31.275        .64964E-04   -1.4473    
   2  Index         1.8080        .59525        .73488E-02   -.69243    
   3  Normalizat    1.1186        .23583        .25000E-03   -.89156    
   4  Prefactor     .79274        .25560        .31868E-03   -.99996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81661e-09
Minuit parameter uncertainties:
  1  31.2888
  2  0.597653
  3  0.236053
  4  0.25598
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/935440': 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) = 5229.33415925
delta logL = 0.592570234928

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  3.806e+01  3.129e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  1.808e+00  5.977e-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:  7.927e-01  2.560e-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:  1.119e+00  2.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.04
Ra Dec: 173.788 30.234
Photon Index (Free Index): 1.81 +/- 0.60
Photon Flux (Free Index): 4.06e-08 +/- 5.57e-08
Energy Flux (Free Index): 4.75e-05 +/- 4.40e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/935440/cmap_HighResolution_604800001_605059201_4FGL_J1135.1+3014_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.23e-08', energy_flux2='4.75e-05', photon_flux_error='5.40e-08', dlogl='5.93e-01', energy_flux='3.12e-05', photon_flux2='4.06e-08', job_status='DONE', time_completed='2021-09-04 04:34:23.287020', photon_index_error2='0.60', photon_index2='1.81', ts='12.93', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='4.40e-05', EG='1.07', time_epoch_completed='1630755263.29', return_code='0', job_id='935440', GAL2='0.79', EG2='1.12', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='5.57e-08', ts2='14.04', photon_index='2.38' WHERE bin_id='1410' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:34:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 935440: <4FGL_J1135.1+3014_daily_bin1410> in cluster <slac> Done

Job <4FGL_J1135.1+3014_daily_bin1410> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Sep  4 04:21:15 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:21:17 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:21:17 2021
Terminated at Sat Sep  4 04:34:24 2021
Results reported at Sat Sep  4 04:34:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin1410 173.788 30.2344 604800001 605059201 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 :                                   744.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             323.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            789 sec.

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

