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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin1311
RA = 177.603, Dec = 24.3016
tmin = 579139201, tmax = 579398401
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='106979', job_status='RUN', time_executed='2021-09-04 13:01:34.881864', time_epoch_executed='1630785694.88' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='1311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106979

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106979/ft1_4FGL_J1150.4+2418_daily_bin1311.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106979/ft2_4FGL_J1150.4+2418_daily_bin1311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106979/ft1_4FGL_J1150.4+2418_daily_bin1311.fits outfile=/scratch/kocevski/106979/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1311.fits ra=177.603 dec=24.3016 rad=12.0 tmin=579139201.0 tmax=579398401.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.52
user 3.26
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/106979/ft2_4FGL_J1150.4+2418_daily_bin1311.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106979/ft2_4FGL_J1150.4+2418_daily_bin1311.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/106979/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1311.fits evtable="EVENTS" outfile="/scratch/kocevski/106979/ft1_filtered_4FGL_J1150.4+2418_daily_bin1311.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106979/ft1_filtered_4FGL_J1150.4+2418_daily_bin1311.fits" evtable="EVENTS" scfile=/scratch/kocevski/106979/ft2_4FGL_J1150.4+2418_daily_bin1311.fits sctable="SC_DATA" outfile=/scratch/kocevski/106979/ltcube_579139201_579398401_4FGL_J1150.4+2418_daily_bin1311.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/106979/ft2_4FGL_J1150.4+2418_daily_bin1311.fits
.....................!
real 11.91
user 11.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106979/ft1_filtered_4FGL_J1150.4+2418_daily_bin1311.fits evtable="EVENTS" scfile=/scratch/kocevski/106979/ft2_4FGL_J1150.4+2418_daily_bin1311.fits sctable="SC_DATA" expcube=/scratch/kocevski/106979/ltcube_579139201_579398401_4FGL_J1150.4+2418_daily_bin1311.fits outfile=/scratch/kocevski/106979/expmap_579139201_579398401_4FGL_J1150.4+2418_daily_bin1311.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/106979/ltcube_579139201_579398401_4FGL_J1150.4+2418_daily_bin1311.fits
.....................!
real 190.97
user 185.64
sys 4.95

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

Setting source of interest to:
4FGL J1150.4+2418 @ 177.603 24.3016

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/106979/ft1_filtered_4FGL_J1150.4+2418_daily_bin1311.fits scfile=/scratch/kocevski/106979/ft2_4FGL_J1150.4+2418_daily_bin1311.fits outfile=/scratch/kocevski/106979/cmap_579139201_579398401_4FGL_J1150.4+2418_daily_bin1311.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.603 yref=24.3016 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.67
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106979/ft1_filtered_4FGL_J1150.4+2418_daily_bin1311.fits scfile=/scratch/kocevski/106979/ft2_4FGL_J1150.4+2418_daily_bin1311.fits outfile=/scratch/kocevski/106979/cmap_HighResolution_579139201_579398401_4FGL_J1150.4+2418_daily_bin1311.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.603 yref=24.3016 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.57
user 0.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/106979/ft1_filtered_4FGL_J1150.4+2418_daily_bin1311.fits evtable="EVENTS" scfile=/scratch/kocevski/106979/ft2_4FGL_J1150.4+2418_daily_bin1311.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/106979/Model_4FGL_J1150.4+2418_daily_bin1311.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/106979/ft1_filtered_4FGL_J1150.4+2418_daily_bin1311.fits.....................!
real 54.62
user 52.86
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/106979/ft1_filtered_4FGL_J1150.4+2418_daily_bin1311.fits', '/scratch/kocevski/106979/ft2_4FGL_J1150.4+2418_daily_bin1311.fits', expMap='/scratch/kocevski/106979/expmap_579139201_579398401_4FGL_J1150.4+2418_daily_bin1311.fits', expCube='/scratch/kocevski/106979/ltcube_579139201_579398401_4FGL_J1150.4+2418_daily_bin1311.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/106979/Model_4FGL_J1150.4+2418_daily_bin1311.xml', optimizer='MINUIT')

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

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.344e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/106979/ft1_filtered_4FGL_J1150.4+2418_daily_bin1311.fits
Spacecraft file(s): /scratch/kocevski/106979/ft2_4FGL_J1150.4+2418_daily_bin1311.fits
Exposure map: /scratch/kocevski/106979/expmap_579139201_579398401_4FGL_J1150.4+2418_daily_bin1311.fits
Exposure cube: /scratch/kocevski/106979/ltcube_579139201_579398401_4FGL_J1150.4+2418_daily_bin1311.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/106979/Model_4FGL_J1150.4+2418_daily_bin1311.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) = 5618.14518055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22925E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.1377       1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.450       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.262       1.0000         .10000E-03   10000.    
     6 'Prefactor '    53.468       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.390       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.992       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.2610       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .80716       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .17532E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .69132       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.3607       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.8832       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9723       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.4126       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.5776       1.0000         .10000E-03   10000.    
    22 'norm      '    .18292       1.0000         .10000E-03   10000.    
    23 'norm      '    7.1516       1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.4271       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0927       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .74864       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5618.136     FROM MIGRAD    STATUS=CONVERGED    605 CALLS     3128 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4154        .96221E-07** at limit **
   2  Prefactor     4.1375        4.3846       -.17171E-07    .85743E-05
   3  norm          .10000E-03    4.0358        .74176E-07** at limit **
   4  Prefactor     16.450        9.4020       -.75285E-07   -.31833E-05
   5  Prefactor     13.262        14.880       -.12320E-06   -.24635E-04
   6  Prefactor     53.465        38.339       -.31801E-06   -.24315E-04
   7  Prefactor     .10000E-03    5.1496       -.16725E-07** at limit **
   8  Prefactor     11.388        6.1652        .29360E-07   -.75295E-04
   9  Prefactor     17.974        19.442       -.13069E-05   -.16181E-03
  10  Prefactor     7.2575        12.114        .28987E-05   -.18974E-03
  11  Prefactor     .80943        2.1353        .44079E-06   -.49577E-04
  12  Prefactor     .10000E-03    51.975       -.97088E-06** at limit **
  13  norm          .10000E-03    .38142       -.47696E-07** at limit **
  14  Prefactor     .69139        2.3708        .54191E-06   -.19064E-03
  15  Prefactor     8.3199        22.870       -.67265E-05   -.24306E-03
  16  Prefactor     .10000E-03    .98042        .69809E-07** at limit **
  17  Prefactor     .10000E-03    2.2667        .25485E-06** at limit **
  18  norm          5.8835        3.3805        .12858E-06    .15483E-03
  19  Prefactor     5.9720        2.9568        .34459E-07    .14971E-03
  20  Prefactor     2.4124        1.7880       -.40497E-07   -.47519E-04
  21  Prefactor     5.5772        5.5043        .23388E-05   -.43087E-03
  22  norm          .18294        .17567       -.10983E-07   -.67032E-03
  23  norm          7.1513        4.6166       -.43808E-06    .10383E-04
  24  Prefactor     9.4270        6.9234       -.14294E-07    .73402E-05
  25  Normalizat    1.0927        .18521        .82379E-06   -.15646E-03
  26  Prefactor     .74870        .19097       -.19648E-05   -.22056E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.13755
  norm       = 0.0001
  Prefactor  = 16.4498
  Prefactor  = 13.2615
  Prefactor  = 53.4653
  Prefactor  = 0.0001
  Prefactor  = 11.3882
  Prefactor  = 17.9742
  Prefactor  = 7.25753
  Prefactor  = 0.809433
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.69139
  Prefactor  = 8.31992
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.8835
  Prefactor  = 5.97197
  Prefactor  = 2.41243
  Prefactor  = 5.57722
  norm       = 0.182936
  norm       = 7.15131
  Prefactor  = 9.42701
  Normalizat = 1.09267
  Prefactor  = 0.748703
 **********
 **   18 **HESSE 
 **********

 FCN=   5618.136     FROM HESSE     STATUS=OK           468 CALLS     3596 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.082        .17052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.1375        4.3860        .15693E-03   -1.5301    
   3  norm          .10000E-03    4.0514        .14704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.450        9.4059        .98749E-04   -1.4897    
   5  Prefactor     13.262        14.893        .10999E-03   -1.4979    
   6  Prefactor     53.465        38.339        .54853E-04   -1.4244    
   7  Prefactor     .10000E-03    5.1608        .16603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.388        6.1720        .11870E-03   -1.5033    
   9  Prefactor     17.974        19.131        .94423E-04   -1.4860    
  10  Prefactor     7.2575        12.239        .74427E-03   -1.5169    
  11  Prefactor     .80943        2.0633        .15255E-03   -1.5528    
  12  Prefactor     .10000E-03    53.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .39320        .90233E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .69139        2.3033        .20325E-03   -1.5542    
  15  Prefactor     8.3199        24.180        .13864E-03   -1.5131    
  16  Prefactor     .10000E-03    .99180        .72411E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.3449        .22005E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.8835        3.4053        .91423E-04   -1.5223    
  19  Prefactor     5.9720        2.9792        .79696E-04   -1.5219    
  20  Prefactor     2.4124        1.7833        .82298E-04   -1.5397    
  21  Prefactor     5.5772        5.6139        .82475E-03   -1.5236    
  22  norm          .18294        .16950        .29322E-03   -1.5622    
  23  norm          7.1513        4.6167        .11971E-03   -1.5173    
  24  Prefactor     9.4270        6.9220        .13052E-03   -1.5094    
  25  Normalizat    1.0927        .21475        .22271E-03   -.89987    
  26  Prefactor     .74870        .22160        .28998E-03   -1.0165    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.96401e-10
Minuit parameter uncertainties:
  1  9.24634e-05
  2  4.3863
  3  6.55609e-07
  4  9.40678
  5  14.8971
  6  38.3565
  7  6.43851e-06
  8  6.17236
  9  19.1372
  10  12.2431
  11  2.06344
  12  0.000745079
  13  2.50362e-06
  14  2.30364
  15  24.2086
  16  2.23068e-06
  17  4.80285e-06
  18  3.4054
  19  2.9793
  20  1.78337
  21  5.61443
  22  0.169501
  23  4.61694
  24  6.92257
  25  0.21492
  26  0.221868
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  8.094e-01  2.063e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  7.487e-01  2.219e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.093e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 177.603 24.302
Photon Flux Upper Limit: 9.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/106979/likelihoodResults_579139201_579398401_4FGL_J1150.4+2418_daily_bin1311.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) = 5617.81927331
delta logL = 0.316755425612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5617.81620111
delta logL = 0.319827617353

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41107       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1824       1.0000          .0000       10.000    
     3 'Normalizat'    1.0585       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77096       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5617.816     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      249 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41126        9.0489        .10902E-01    .14547E-02
   2  Index         3.1823        3.3029        .12026        .13355E-03
   3  Normalizat    1.0585        .36226E-01    .40021E-01    .44252E-05
   4  Prefactor     .77091        .40126E-01    .64669E-01    .17300E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.411261
  Index      = 3.18228
  Normalizat = 1.05854
  Prefactor  = 0.770914
 **********
 **   18 **HESSE 
 **********

 FCN=   5617.816     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41126        8.8490        .55552E-04   -1.5580    
   2  Index         3.1823        3.9089        .72776E-02   -.37207    
   3  Normalizat    1.0585        .21100        .22577E-03   -.91094    
   4  Prefactor     .77091        .23250        .28607E-03   -1.0081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44262e-10
Minuit parameter uncertainties:
  1  3.81555
  2  4.63837
  3  0.211163
  4  0.232794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106979': 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) = 5617.81620102
delta logL = 0.319827708938

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  4.113e-01  3.816e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  3.182e+00  4.638e+00  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  7.709e-01  2.328e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.059e+00  2.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
Ra Dec: 177.603 24.302

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/106979/cmap_HighResolution_579139201_579398401_4FGL_J1150.4+2418_daily_bin1311.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.94e-03', job_status='DONE', photon_flux_upper_limit='9.09e-08', time_completed='2021-09-04 13:14:05.450416', job_id='106979', GAL2='0.77', fit_tolerance='1e-08', EG2='1.06', EG='1.09', time_epoch_completed='1630786445.45', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='3.20e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1311' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:14:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 106979: <4FGL_J1150.4+2418_daily_bin1311> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin1311> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 13:01:18 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:01:20 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:01:20 2021
Terminated at Sat Sep  4 13:14:05 2021
Results reported at Sat Sep  4 13:14:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin1311 177.603 24.3016 579139201 579398401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.4+2418 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   745.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   765 sec.
    Turnaround time :                            767 sec.

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

