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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin1027
RA = 177.603, Dec = 24.3016
tmin = 505526401, tmax = 505785601
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='105421', job_status='RUN', time_executed='2021-09-04 12:59:28.329765', time_epoch_executed='1630785568.33' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='1027'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105421

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105421/ft1_4FGL_J1150.4+2418_daily_bin1027.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105421/ft2_4FGL_J1150.4+2418_daily_bin1027.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105421/ft1_4FGL_J1150.4+2418_daily_bin1027.fits outfile=/scratch/kocevski/105421/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1027.fits ra=177.603 dec=24.3016 rad=12.0 tmin=505526401.0 tmax=505785601.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.30
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/105421/ft2_4FGL_J1150.4+2418_daily_bin1027.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/105421/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1027.fits evtable="EVENTS" outfile="/scratch/kocevski/105421/ft1_filtered_4FGL_J1150.4+2418_daily_bin1027.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.50
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105421/ft1_filtered_4FGL_J1150.4+2418_daily_bin1027.fits" evtable="EVENTS" scfile=/scratch/kocevski/105421/ft2_4FGL_J1150.4+2418_daily_bin1027.fits sctable="SC_DATA" outfile=/scratch/kocevski/105421/ltcube_505526401_505785601_4FGL_J1150.4+2418_daily_bin1027.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/105421/ft2_4FGL_J1150.4+2418_daily_bin1027.fits
.....................!
real 12.26
user 11.89
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105421/ft1_filtered_4FGL_J1150.4+2418_daily_bin1027.fits evtable="EVENTS" scfile=/scratch/kocevski/105421/ft2_4FGL_J1150.4+2418_daily_bin1027.fits sctable="SC_DATA" expcube=/scratch/kocevski/105421/ltcube_505526401_505785601_4FGL_J1150.4+2418_daily_bin1027.fits outfile=/scratch/kocevski/105421/expmap_505526401_505785601_4FGL_J1150.4+2418_daily_bin1027.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/105421/ltcube_505526401_505785601_4FGL_J1150.4+2418_daily_bin1027.fits
.....................!
real 192.28
user 187.40
sys 4.43

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/105421/ft1_filtered_4FGL_J1150.4+2418_daily_bin1027.fits scfile=/scratch/kocevski/105421/ft2_4FGL_J1150.4+2418_daily_bin1027.fits outfile=/scratch/kocevski/105421/cmap_505526401_505785601_4FGL_J1150.4+2418_daily_bin1027.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105421/ft1_filtered_4FGL_J1150.4+2418_daily_bin1027.fits scfile=/scratch/kocevski/105421/ft2_4FGL_J1150.4+2418_daily_bin1027.fits outfile=/scratch/kocevski/105421/cmap_HighResolution_505526401_505785601_4FGL_J1150.4+2418_daily_bin1027.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/105421/ft1_filtered_4FGL_J1150.4+2418_daily_bin1027.fits', '/scratch/kocevski/105421/ft2_4FGL_J1150.4+2418_daily_bin1027.fits', expMap='/scratch/kocevski/105421/expmap_505526401_505785601_4FGL_J1150.4+2418_daily_bin1027.fits', expCube='/scratch/kocevski/105421/ltcube_505526401_505785601_4FGL_J1150.4+2418_daily_bin1027.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/105421/Model_4FGL_J1150.4+2418_daily_bin1027.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/105421/ft1_filtered_4FGL_J1150.4+2418_daily_bin1027.fits
Spacecraft file(s): /scratch/kocevski/105421/ft2_4FGL_J1150.4+2418_daily_bin1027.fits
Exposure map: /scratch/kocevski/105421/expmap_505526401_505785601_4FGL_J1150.4+2418_daily_bin1027.fits
Exposure cube: /scratch/kocevski/105421/ltcube_505526401_505785601_4FGL_J1150.4+2418_daily_bin1027.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/105421/Model_4FGL_J1150.4+2418_daily_bin1027.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) = 5754.48616854

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60982       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .88632       1.0000         .10000E-03   10000.    
     3 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9099       1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.994       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.7760       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.778       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .33754       1.0000         .10000E-03   10000.    
    12 'Prefactor '    41.914       1.0000         .10000E-03   10000.    
    13 'norm      '    2.6062       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13188E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.4897       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8721       1.0000         .10000E-03   10000.    
    18 'norm      '    14.156       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1546       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .97822       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .12254       1.0000         .10000E-03   10000.    
    23 'norm      '    5.4944       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.3685       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .52559       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5754.478     FROM MIGRAD    STATUS=CONVERGED     72 CALLS     3007 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61164        2.6654        .39697E-05    .11922E-02
   2  Prefactor     .88806        1.2097        .31508E-07    .77064E-04
   3  norm          .10003E-03    26.692       -.37009E-06** at limit **
   4  Prefactor     .10001E-03    9.4697        .13458E-05** at limit **
   5  Prefactor     8.9120        1.0468        .20350E-06   -.10856E-02
   6  Prefactor     32.992        1.0406       -.10611E-06    .25476E-02
   7  Prefactor     5.7760        1.0049       -.34391E-07    .27036E-03
   8  Prefactor     .10000E-03    1.3225        .24505E-06** at limit **
   9  Prefactor     18.772        1.2919       -.37543E-06    .50121E-02
  10  Prefactor     .10000E-03    5.8757       -.71511E-06** at limit **
  11  Prefactor     .33855        1.1390        .43839E-06   -.88031E-04
  12  Prefactor     41.916        1.0195        .62201E-07   -.17323E-02
  13  norm          2.6062        1.2274        .21276E-07   -.14979E-03
  14  Prefactor     .10000E-03    2.0786       -.15583E-05** at limit **
  15  Prefactor     .12149E-01    1.2726       -.43616E-05    .38206E-02
  16  Prefactor     7.4905        1.7354       -.11378E-05   -.31756E-02
  17  Prefactor     3.8731        2.3136       -.21673E-05   -.41939E-02
  18  norm          14.155        1.0842       -.33811E-07   -.15110E-03
  19  Prefactor     5.1543        2.4064       -.50535E-06   -.10210E-02
  20  Prefactor     .97930        1.4506       -.24707E-06   -.13718E-03
  21  Prefactor     .10000E-03    2.2809        .17401E-05** at limit **
  22  norm          .12259        .12605        .37828E-08   -.29127E-03
  23  norm          5.4946        1.7056        .13314E-05    .11965E-02
  24  Prefactor     .10000E-03    3.2754       -.66587E-06** at limit **
  25  Normalizat    1.3683        .21481        .61813E-06    .19161E-04
  26  Prefactor     .52558        .22114        .17261E-06   -.14490E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.611638
  Prefactor  = 0.888063
  norm       = 0.000100032
  Prefactor  = 0.000100005
  Prefactor  = 8.91197
  Prefactor  = 32.9924
  Prefactor  = 5.77597
  Prefactor  = 0.0001
  Prefactor  = 18.7725
  Prefactor  = 0.000100001
  Prefactor  = 0.338553
  Prefactor  = 41.9156
  norm       = 2.60619
  Prefactor  = 0.000100002
  Prefactor  = 0.0121491
  Prefactor  = 7.49046
  Prefactor  = 3.87305
  norm       = 14.155
  Prefactor  = 5.15428
  Prefactor  = 0.979296
  Prefactor  = 0.000100001
  norm       = 0.122587
  norm       = 5.49456
  Prefactor  = 0.0001
  Normalizat = 1.36826
  Prefactor  = 0.525577
 **********
 **   18 **HESSE 
 **********

 FCN=   5754.478     FROM HESSE     STATUS=OK           532 CALLS     3539 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61164        2.6889        .11711E-01   -1.5552    
   2  Prefactor     .88806        7.2386        .12758E-01   -1.5519    
   3  norm          .10003E-03    26.198        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    9.4157        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.9120        19.833        .33570E-02   -1.5111    
   6  Prefactor     32.992        51.430        .17440E-02   -1.4559    
   7  Prefactor     5.7760        10.951        .41779E-02   -1.5227    
   8  Prefactor     .10000E-03    1.3214        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.772        22.463        .23107E-02   -1.4841    
  10  Prefactor     .10000E-03    5.8648        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33855        1.1472        .33868E-01   -1.5592    
  12  Prefactor     41.916        28.759        .15480E-02   -1.4412    
  13  norm          2.6062        1.2411        .63173E-02   -1.5385    
  14  Prefactor     .10000E-03    3.7339        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12149E-01    39.642        .11823       -1.5686    
  16  Prefactor     7.4905        4.2638        .36636E-02   -1.5161    
  17  Prefactor     3.8731        3.5337        .51266E-02   -1.5314    
  18  norm          14.155        4.1752        .26614E-02   -1.4955    
  19  Prefactor     5.1543        2.5279        .44268E-02   -1.5254    
  20  Prefactor     .97930        1.7374        .25340E-01   -1.5510    
  21  Prefactor     .10000E-03    3.8838        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .12259        .13058        .60034E-02   -1.5638    
  23  norm          5.4946        3.4257        .42853E-02   -1.5239    
  24  Prefactor     .10000E-03    3.2824        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.3683        .19951        .49646E-01   -.81551    
  26  Prefactor     .52558        .19427        .79602E-01   -1.1082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19875e-07
Minuit parameter uncertainties:
  1  2.56487
  2  5.07138
  3  0.00184049
  4  0.00044121
  5  19.8475
  6  51.4987
  7  10.9547
  8  4.14553e-06
  9  22.4731
  10  0.00013724
  11  1.1473
  12  28.7681
  13  1.2411
  14  0.000180043
  15  1.38316
  16  4.26394
  17  3.53389
  18  4.17528
  19  2.52798
  20  1.73751
  21  8.93327e-05
  22  0.130583
  23  3.42582
  24  5.28609e-05
  25  0.199627
  26  0.19452
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  3.386e-01  1.147e+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:  5.256e-01  1.945e-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.368e+00  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/105421/likelihoodResults_505526401_505785601_4FGL_J1150.4+2418_daily_bin1027.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) = 5754.4609933
delta logL = 0.0170050484703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5754.45983916
delta logL = 0.0181591910432

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29682       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6135       1.0000          .0000       10.000    
     3 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .52794       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=   5754.460     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      230 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29800        3.7650        .27121E-01    .15294E-02
   2  Index         2.6135        .80334        .46640        .36488E-05
   3  Normalizat    1.3638        .11796E-01    .49714E-01    .26216E-05
   4  Prefactor     .52800        .12351E-01    .79431E-01    .33729E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.297999
  Index      = 2.61349
  Normalizat = 1.36382
  Prefactor  = 0.527998
 **********
 **   18 **HESSE 
 **********

 FCN=   5754.460     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29800        1.2695        .11125E-02   -1.5599    
   2  Index         2.6135        2.3592        .52705E-02   -.49758    
   3  Normalizat    1.3638        .21415        .21978E-03   -.81681    
   4  Prefactor     .52800        .22180        .35181E-03   -1.1071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74926e-08
Minuit parameter uncertainties:
  1  1.22997
  2  2.49047
  3  0.214291
  4  0.222164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105421': 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) = 5754.45983819
delta logL = 0.0181601537161

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  2.980e-01  1.230e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.613e+00  2.490e+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:  5.280e-01  2.222e-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.364e+00  2.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/105421/cmap_HighResolution_505526401_505785601_4FGL_J1150.4+2418_daily_bin1027.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.44e-03', job_status='DONE', photon_flux_upper_limit='7.13e-08', time_completed='2021-09-04 13:11:43.837130', job_id='105421', GAL2='0.53', fit_tolerance='1e-08', EG2='1.36', EG='1.37', time_epoch_completed='1630786303.84', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.53', dlogl='1.82e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1027' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:11:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 105421: <4FGL_J1150.4+2418_daily_bin1027> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin1027> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 12:56:15 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:56:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 12:56:16 2021
Terminated at Sat Sep  4 13:11:44 2021
Results reported at Sat Sep  4 13:11:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin1027 177.603 24.3016 505526401 505785601 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 :                                   734.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             252.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            929 sec.

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

