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


Performing analysis on: 4FGL_J1135.1+3014_daily_bin1201
RA = 173.788, Dec = 30.2344
tmin = 550627201, tmax = 550886401
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='933936', job_status='RUN', time_executed='2021-09-04 04:18:52.080997', time_epoch_executed='1630754332.08' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='1201'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933936

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933936/ft1_4FGL_J1135.1+3014_daily_bin1201.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933936/ft2_4FGL_J1135.1+3014_daily_bin1201.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933936/ft1_4FGL_J1135.1+3014_daily_bin1201.fits outfile=/scratch/kocevski/933936/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1201.fits ra=173.788 dec=30.2344 rad=12.0 tmin=550627201.0 tmax=550886401.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.95
user 3.72
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/933936/ft2_4FGL_J1135.1+3014_daily_bin1201.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/933936/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1201.fits evtable="EVENTS" outfile="/scratch/kocevski/933936/ft1_filtered_4FGL_J1135.1+3014_daily_bin1201.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.51
user 0.33
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933936/ft1_filtered_4FGL_J1135.1+3014_daily_bin1201.fits evtable="EVENTS" scfile=/scratch/kocevski/933936/ft2_4FGL_J1135.1+3014_daily_bin1201.fits sctable="SC_DATA" expcube=/scratch/kocevski/933936/ltcube_550627201_550886401_4FGL_J1135.1+3014_daily_bin1201.fits outfile=/scratch/kocevski/933936/expmap_550627201_550886401_4FGL_J1135.1+3014_daily_bin1201.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/933936/ltcube_550627201_550886401_4FGL_J1135.1+3014_daily_bin1201.fits
.....................!
real 192.10
user 185.83
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/933936/ft1_filtered_4FGL_J1135.1+3014_daily_bin1201.fits scfile=/scratch/kocevski/933936/ft2_4FGL_J1135.1+3014_daily_bin1201.fits outfile=/scratch/kocevski/933936/cmap_550627201_550886401_4FGL_J1135.1+3014_daily_bin1201.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/933936/ft1_filtered_4FGL_J1135.1+3014_daily_bin1201.fits scfile=/scratch/kocevski/933936/ft2_4FGL_J1135.1+3014_daily_bin1201.fits outfile=/scratch/kocevski/933936/cmap_HighResolution_550627201_550886401_4FGL_J1135.1+3014_daily_bin1201.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.54
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20062       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0604       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5166       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17367       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .65144E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0542       1.0000         .10000E-03   10000.    
     7 'norm      '    37.230       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10655E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    18.254       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.040       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .38260E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11729       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.4988       1.0000         .10000E-03   10000.    
    14 'norm      '    .12422E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21810E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.384       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.574       1.0000         .10000E-03   10000.    
    18 'norm      '    4.0005       1.0000         .10000E-03   10000.    
    19 'Prefactor '    32.795       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.7513       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11593E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    797.68       1.0000         .10000E-03   10000.    
    24 'norm      '    7.3544       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .24666E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .44375E-01   1.0000         .10000E-03   10000.    
    27 'norm      '    1.4704       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .15222E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    6.8928       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.0134       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .97182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4128.485     FROM MIGRAD    STATUS=CONVERGED    279 CALLS     3216 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28609E-03    6277.7       -.47191E-04** at limit **
   2  Prefactor     6.0499        8.2837       -.29352E-06   -.40763E-04
   3  norm          1.5119        .76524        .33333E-08   -.10831E-04
   4  Prefactor     .18450        6.3037       -.98118E-06   -.29518E-04
   5  Prefactor     .10000E-03    138.92       -.20028E-05** at limit **
   6  Prefactor     2.2691        176.89       -.30105E-05    .25901E-03
   7  norm          37.172        21.072        .10586E-06   -.59237E-02
   8  Prefactor     .10000E-03    3.1625       -.30410E-07** at limit **
   9  norm          18.624        17.232       -.27744E-06   -.15529E-02
  10  Prefactor     15.090        11.352       -.30839E-06   -.12981E-03
  11  Prefactor     .10000E-03    20.177        .15473E-05** at limit **
  12  Prefactor     .10001E-03    168.86       -.30180E-06** at limit **
  13  Prefactor     8.4403        19.619        .29543E-06   -.93240E-04
  14  norm          .10000E-03    6.6958       -.67181E-06** at limit **
  15  Prefactor     .10000E-03    5.8418       -.36485E-06** at limit **
  16  Prefactor     18.200        13.238        .13829E-06    .13682E-03
  17  Prefactor     54.444        231.79        .77256E-05   -.80057E-05
  18  norm          3.5220        4.9164       -.20005E-06    .29815E-04
  19  Prefactor     33.700        32.676       -.16716E-06    .27224E-03
  20  Prefactor     5.8189        9.5829        .26383E-06   -.18515E-04
  21  Prefactor     .10000E-03    .62018       -.15670E-07** at limit **
  22  Prefactor     .10000E-03    28.308       -.77825E-06** at limit **
  23  Prefactor     797.85        19.059        .23788E-06    .51178E-01
  24  norm          7.3553        2.6097       -.55444E-07   -.25981E-05
  25  Prefactor     .10000E-03    3.5510       -.12985E-06** at limit **
  26  Prefactor     .10008E-03    63.218       -.97390E-06** at limit **
  27  norm          1.4889        3.8386       -.81834E-07   -.73683E-05
  28  Prefactor     .10000E-03    6.5938        .42612E-09** at limit **
  29  Prefactor     6.8893        3.9885       -.11921E-07   -.89245E-06
  30  Prefactor     .10000E-03    1.8289        .16371E-06** at limit **
  31  Normalizat    1.0072        .30277        .17327E-05    .63389E-04
  32  Prefactor     .97299        .30309       -.27136E-06    .45196E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000286088
  Prefactor  = 6.04989
  norm       = 1.51191
  Prefactor  = 0.1845
  Prefactor  = 0.000100001
  Prefactor  = 2.26908
  norm       = 37.1725
  Prefactor  = 0.0001
  norm       = 18.6245
  Prefactor  = 15.0895
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 8.44033
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1998
  Prefactor  = 54.4443
  norm       = 3.52197
  Prefactor  = 33.7004
  Prefactor  = 5.81893
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 797.852
  norm       = 7.35535
  Prefactor  = 0.0001
  Prefactor  = 0.000100078
  norm       = 1.48887
  Prefactor  = 0.0001
  Prefactor  = 6.88926
  Prefactor  = 0.0001
  Normalizat = 1.00718
  Prefactor  = 0.972985
 **********
 **   18 **HESSE 
 **********

 FCN=   4128.485     FROM HESSE     STATUS=OK           745 CALLS     3961 TOTAL
                     EDM=   .63E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28609E-03    63.525        .13236       -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.0499        8.3132        .40773E-02   -1.5216    
   3  norm          1.5119        .76627        .75961E-02   -1.5462    
   4  Prefactor     .18450        2.6461        .33350E-01   -1.5622    
   5  Prefactor     .10000E-03    139.11        .93437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.2691        192.67        .72098E-02   -1.5407    
   7  norm          37.172        33.101        .16421E-02   -1.4488    
   8  Prefactor     .10000E-03    3.1612        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          18.624        17.358        .23436E-02   -1.4845    
  10  Prefactor     15.090        11.397        .25819E-02   -1.4931    
  11  Prefactor     .10000E-03    4.5082        .70267E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    169.02        .95934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.4403        19.670        .34377E-02   -1.5127    
  14  norm          .10000E-03    6.6463        .10307E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.8123        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.200        13.648        .23353E-02   -1.4854    
  17  Prefactor     54.444        236.78        .30803E-02   -1.4231    
  18  norm          3.5220        5.1677        .50409E-02   -1.5333    
  19  Prefactor     33.700        34.506        .17493E-02   -1.4546    
  20  Prefactor     5.8189        9.6093        .41870E-02   -1.5225    
  21  Prefactor     .10000E-03    .61863        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    28.208        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     797.85        419.37        .36909E-03   -.99808    
  24  norm          7.3553        2.6244        .36974E-02   -1.5165    
  25  Prefactor     .10000E-03    3.5062        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10008E-03    63.042        .92426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.4889        3.8627        .88600E-02   -1.5464    
  28  Prefactor     .10000E-03    6.5951        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     6.8893        3.9800        .38204E-02   -1.5183    
  30  Prefactor     .10000E-03    1.8183        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    1.0072        .25486        .64339E-01   -.92790    
  32  Prefactor     .97299        .25491        .69605E-01   -.93635    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.33224e-05
Minuit parameter uncertainties:
  1  0.217682
  2  8.31479
  3  0.766274
  4  1.39713
  5  0.000587935
  6  41.9577
  7  33.117
  8  6.83276e-07
  9  17.3632
  10  11.3982
  11  3.05733e-05
  12  0.00308923
  13  19.6851
  14  1.50913e-05
  15  1.24868e-05
  16  13.6508
  17  228.624
  18  5.16833
  19  34.5268
  20  9.61187
  21  7.65787e-08
  22  1.29561e-05
  23  421.061
  24  2.62444
  25  2.41162e-06
  26  0.00443364
  27  3.86339
  28  1.28817e-06
  29  3.98015
  30  2.51547e-06
  31  0.255167
  32  0.255224
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  1.249e-05  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:  9.730e-01  2.552e-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.007e+00  2.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/933936/likelihoodResults_550627201_550886401_4FGL_J1135.1+3014_daily_bin1201.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): 102
logL (Free Index) = 4128.48600654
delta logL = -0.000809367307738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4128.48519762
delta logL = -4.42424607172e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3578       1.0000          .0000       10.000    
     3 'Normalizat'    1.0074       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97275       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4128.485     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      255 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.268        .15334E-01** at limit **
   2  Index         1.7835        8.3912        .50000        .19329E-06
   3  Normalizat    1.0072        .11830E-01    .28436E-03   -.16756E-03
   4  Prefactor     .97299        .12667E-01    .30791E-03   -.15301E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.78347
  Normalizat = 1.00718
  Prefactor  = 0.972985
 **********
 **   18 **HESSE 
 **********

 FCN=   4128.485     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      284 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    264.62        .17161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7835        5.1097        .50000       -.69881    
   3  Normalizat    1.0072        .37642E-01    .11374E-04   -.92790    
   4  Prefactor     .97299        .40302E-01    .12316E-04   -.93636    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.38302e-09
Minuit parameter uncertainties:
  1  3.90354e-05
  2  1016.65
  3  0.0376431
  4  0.0403034
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933936': 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): 102
logL (Free Index) = 4128.48519526
delta logL = 1.9161061573e-06

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  3.904e-05  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  1.783e+00  1.017e+03  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:  9.730e-01  4.030e-02  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.007e+00  3.764e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/933936/cmap_HighResolution_550627201_550886401_4FGL_J1135.1+3014_daily_bin1201.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.18e-03', job_status='DONE', photon_flux_upper_limit='8.01e-08', time_completed='2021-09-04 04:31:01.751545', job_id='933936', GAL2='0.97', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1630755061.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.92e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1201' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:31:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 933936: <4FGL_J1135.1+3014_daily_bin1201> in cluster <slac> Done

Job <4FGL_J1135.1+3014_daily_bin1201> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 04:16:28 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:16:29 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:16:29 2021
Terminated at Sat Sep  4 04:31:02 2021
Results reported at Sat Sep  4 04:31:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin1201 173.788 30.2344 550627201 550886401 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 :                                   674.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            874 sec.

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

