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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1430
RA = 177.656, Dec = 41.9096
tmin = 609984001, tmax = 610243201
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='115520', job_status='RUN', time_executed='2021-09-04 13:26:47.141379', time_epoch_executed='1630787207.14' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1430'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115520

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115520/ft1_4FGL_J1150.6+4154_daily_bin1430.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115520/ft2_4FGL_J1150.6+4154_daily_bin1430.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115520/ft1_4FGL_J1150.6+4154_daily_bin1430.fits outfile=/scratch/kocevski/115520/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1430.fits ra=177.656 dec=41.9096 rad=12.0 tmin=609984001.0 tmax=610243201.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.14
user 4.88
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/115520/ft2_4FGL_J1150.6+4154_daily_bin1430.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115520/ft2_4FGL_J1150.6+4154_daily_bin1430.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/115520/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1430.fits evtable="EVENTS" outfile="/scratch/kocevski/115520/ft1_filtered_4FGL_J1150.6+4154_daily_bin1430.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115520/ft1_filtered_4FGL_J1150.6+4154_daily_bin1430.fits" evtable="EVENTS" scfile=/scratch/kocevski/115520/ft2_4FGL_J1150.6+4154_daily_bin1430.fits sctable="SC_DATA" outfile=/scratch/kocevski/115520/ltcube_609984001_610243201_4FGL_J1150.6+4154_daily_bin1430.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/115520/ft2_4FGL_J1150.6+4154_daily_bin1430.fits
.....................!
real 11.58
user 11.23
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115520/ft1_filtered_4FGL_J1150.6+4154_daily_bin1430.fits evtable="EVENTS" scfile=/scratch/kocevski/115520/ft2_4FGL_J1150.6+4154_daily_bin1430.fits sctable="SC_DATA" expcube=/scratch/kocevski/115520/ltcube_609984001_610243201_4FGL_J1150.6+4154_daily_bin1430.fits outfile=/scratch/kocevski/115520/expmap_609984001_610243201_4FGL_J1150.6+4154_daily_bin1430.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/115520/ltcube_609984001_610243201_4FGL_J1150.6+4154_daily_bin1430.fits
.....................!
real 190.96
user 186.21
sys 4.39

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

Setting source of interest to:
4FGL J1150.6+4154 @ 177.656 41.9096

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/115520/ft1_filtered_4FGL_J1150.6+4154_daily_bin1430.fits scfile=/scratch/kocevski/115520/ft2_4FGL_J1150.6+4154_daily_bin1430.fits outfile=/scratch/kocevski/115520/cmap_609984001_610243201_4FGL_J1150.6+4154_daily_bin1430.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=177.656 yref=41.9096 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.78
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115520/ft1_filtered_4FGL_J1150.6+4154_daily_bin1430.fits scfile=/scratch/kocevski/115520/ft2_4FGL_J1150.6+4154_daily_bin1430.fits outfile=/scratch/kocevski/115520/cmap_HighResolution_609984001_610243201_4FGL_J1150.6+4154_daily_bin1430.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=177.656 yref=41.9096 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/115520/ft1_filtered_4FGL_J1150.6+4154_daily_bin1430.fits evtable="EVENTS" scfile=/scratch/kocevski/115520/ft2_4FGL_J1150.6+4154_daily_bin1430.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/115520/Model_4FGL_J1150.6+4154_daily_bin1430.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/115520/ft1_filtered_4FGL_J1150.6+4154_daily_bin1430.fits.....................!
real 52.80
user 47.32
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/115520/ft1_filtered_4FGL_J1150.6+4154_daily_bin1430.fits', '/scratch/kocevski/115520/ft2_4FGL_J1150.6+4154_daily_bin1430.fits', expMap='/scratch/kocevski/115520/expmap_609984001_610243201_4FGL_J1150.6+4154_daily_bin1430.fits', expCube='/scratch/kocevski/115520/ltcube_609984001_610243201_4FGL_J1150.6+4154_daily_bin1430.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/115520/Model_4FGL_J1150.6+4154_daily_bin1430.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1150.6+4154'

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.203e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/115520/ft1_filtered_4FGL_J1150.6+4154_daily_bin1430.fits
Spacecraft file(s): /scratch/kocevski/115520/ft2_4FGL_J1150.6+4154_daily_bin1430.fits
Exposure map: /scratch/kocevski/115520/expmap_609984001_610243201_4FGL_J1150.6+4154_daily_bin1430.fits
Exposure cube: /scratch/kocevski/115520/ltcube_609984001_610243201_4FGL_J1150.6+4154_daily_bin1430.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/115520/Model_4FGL_J1150.6+4154_daily_bin1430.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) = 5406.69249743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    65.530       1.0000         .10000E-03   10000.    
     2 'norm      '    .95214       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.794       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .21681E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    4.7558       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.5457       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    89.205       1.0000         .10000E-03   10000.    
    13 'norm      '    1.3011       1.0000         .10000E-03   10000.    
    14 'norm      '    5.5808       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.3769       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1879       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78848       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5406.665     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2767 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     65.540        76.736        .35432E-06    .28166E-04
   2  norm          .95209        .36968       -.20773E-07   -.52394E-03
   3  Prefactor     .10000E-03    37.205       -.84810E-06** at limit **
   4  Prefactor     17.792        21.860        .12829E-05    .26613E-04
   5  Prefactor     .10000E-03    44.655        .10665E-05** at limit **
   6  norm          .10091E-03    24.521        .61047E-05** at limit **
   7  norm          4.8060        194.63        .55773E-05    .59309E-04
   8  Prefactor     .10000E-03    2.9159       -.20477E-06** at limit **
   9  Prefactor     .10000E-03    24.284        .31594E-06** at limit **
  10  norm          2.5455        2.7222        .20935E-06    .29312E-04
  11  Prefactor     .10000E-03    3.8878       -.15038E-06** at limit **
  12  Prefactor     89.210        67.194       -.64801E-06   -.10921E-04
  13  norm          1.3010        1.1971       -.45407E-07   -.10745E-03
  14  norm          5.5817        9.1034        .39011E-05    .78858E-03
  15  Prefactor     .10000E-03    34.105       -.70104E-06** at limit **
  16  Prefactor     2.3774        3.6829        .36869E-06    .23808E-03
  17  Prefactor     .10000E-03    35.712       -.52404E-06** at limit **
  18  Prefactor     .10000E-03    19.049       -.53208E-06** at limit **
  19  Prefactor     .10000E-03    95.813       -.14508E-05** at limit **
  20  Prefactor     .10000E-03    5.1536       -.14487E-06** at limit **
  21  norm          .10000E-03    2.5016       -.82662E-07** at limit **
  22  Prefactor     .10000E-03    16.244       -.19686E-06** at limit **
  23  Normalizat    1.1881        .18015        .91524E-06   -.18758E-03
  24  Prefactor     .78830        .20477       -.17891E-05   -.11122E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 65.5399
  norm       = 0.952094
  Prefactor  = 0.000100001
  Prefactor  = 17.792
  Prefactor  = 0.000100001
  norm       = 0.000100905
  norm       = 4.806
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.54545
  Prefactor  = 0.0001
  Prefactor  = 89.2099
  norm       = 1.30102
  norm       = 5.58169
  Prefactor  = 0.000100001
  Prefactor  = 2.37738
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.18805
  Prefactor  = 0.788297
 **********
 **   18 **HESSE 
 **********

 FCN=   5406.665     FROM HESSE     STATUS=OK           391 CALLS     3158 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     65.540        76.797        .49577E-04   -1.4087    
   2  norm          .95209        .37795        .24930E-04   -1.5513    
   3  Prefactor     .10000E-03    38.811        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.792        22.257        .47474E-03   -1.4864    
   5  Prefactor     .10000E-03    44.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10091E-03    74.383        .49856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.8060        196.98        .18450E-03   -1.5269    
   8  Prefactor     .10000E-03    3.0336        .24431E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    24.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5455        2.7004        .11721E-03   -1.5389    
  11  Prefactor     .10000E-03    3.9219        .14154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     89.210        66.423        .42542E-04   -1.3816    
  13  norm          1.3010        1.1872        .67167E-04   -1.5480    
  14  norm          5.5817        9.4245        .85030E-03   -1.5235    
  15  Prefactor     .10000E-03    34.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.3774        3.6844        .16463E-03   -1.5400    
  17  Prefactor     .10000E-03    35.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    96.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.1896        .16300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.5146        .11356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    16.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1881        .21085        .22441E-03   -.86973    
  24  Prefactor     .78830        .23807        .31022E-03   -1.0016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33099e-08
Minuit parameter uncertainties:
  1  76.913
  2  0.377949
  3  0.000466937
  4  22.2672
  5  0.000455988
  6  0.0164341
  7  61.755
  8  2.92819e-05
  9  0.000164721
  10  2.70053
  11  1.60553e-05
  12  66.4788
  13  1.1872
  14  9.42702
  15  0.000280091
  16  3.68477
  17  0.000249371
  18  0.000155825
  19  0.000727009
  20  1.07133e-05
  21  3.44877e-06
  22  8.15028e-06
  23  0.211005
  24  0.238382
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.582e+00  9.427e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  7.883e-01  2.384e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  1.188e+00  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.57
Ra Dec: 177.656 41.910
Photon Flux Upper Limit: 4.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/115520/likelihoodResults_609984001_610243201_4FGL_J1150.6+4154_daily_bin1430.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) = 5406.59168389
delta logL = 0.073432277044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5406.59134663
delta logL = 0.0737695424295

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6521       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0258       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1857       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78655       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+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=   5406.591     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      281 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6636        9.3009        .84483E-03   -.61147E-04
   2  alpha         2.0281        1.0462        .19323E-01   -.60853E-05
   3  Normalizat    1.1858        .20218        .22454E-03   -.10354E-03
   4  Prefactor     .78635        .23376        .31044E-03   -.11646E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.66356
  alpha      = 2.02812
  Normalizat = 1.18576
  Prefactor  = 0.786352
 **********
 **   18 **HESSE 
 **********

 FCN=   5406.591     FROM HESSE     STATUS=OK            27 CALLS      308 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6636        9.0335        .33793E-04   -1.5232    
   2  alpha         2.0281        1.0182        .77292E-03   -.18989    
   3  Normalizat    1.1858        .20224        .44909E-04   -.87044    
   4  Prefactor     .78635        .23390        .12418E-04   -1.0023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48832e-11
Minuit parameter uncertainties:
  1  9.03565
  2  1.04986
  3  0.202369
  4  0.234192
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115520': 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) = 5406.59134136
delta logL = 0.0737748121373

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.664e+00  9.036e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  2.028e+00  1.050e+00  0.000e+00  5.000e+00 ( 1.000e+00)
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  7.864e-01  2.342e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  1.186e+00  2.024e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.57
Ra Dec: 177.656 41.910

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/115520/cmap_HighResolution_609984001_610243201_4FGL_J1150.6+4154_daily_bin1430.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-05', job_status='DONE', photon_flux_upper_limit='4.48e-08', time_completed='2021-09-04 13:38:25.032428', job_id='115520', GAL2='0.79', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1630787905.03', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='7.38e-02', ts2='0.73', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1430' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:38:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 115520: <4FGL_J1150.6+4154_daily_bin1430> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1430> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 13:26:12 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:26:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 13:26:14 2021
Terminated at Sat Sep  4 13:38:25 2021
Results reported at Sat Sep  4 13:38:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1430 177.656 41.9096 609984001 610243201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.6+4154 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   690.05 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             355.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            733 sec.

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

