/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 228 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 = 7419
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1150.4+2418_daily_bin18
RA = 177.603, Dec = 24.3016
tmin = 243993601, tmax = 244252801
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='99262', job_status='RUN', time_executed='2021-09-04 12:40:41.681366', time_epoch_executed='1630784441.68' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='18'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/99262

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/99262/ft1_4FGL_J1150.4+2418_daily_bin18.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/99262/ft2_4FGL_J1150.4+2418_daily_bin18.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/99262/ft1_4FGL_J1150.4+2418_daily_bin18.fits outfile=/scratch/kocevski/99262/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin18.fits ra=177.603 dec=24.3016 rad=12.0 tmin=243993601.0 tmax=244252801.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 1.40
user 1.23
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/99262/ft1_filtered_4FGL_J1150.4+2418_daily_bin18.fits" evtable="EVENTS" scfile=/scratch/kocevski/99262/ft2_4FGL_J1150.4+2418_daily_bin18.fits sctable="SC_DATA" outfile=/scratch/kocevski/99262/ltcube_243993601_244252801_4FGL_J1150.4+2418_daily_bin18.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/99262/ft2_4FGL_J1150.4+2418_daily_bin18.fits
.....................!
real 13.33
user 12.94
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/99262/ft1_filtered_4FGL_J1150.4+2418_daily_bin18.fits evtable="EVENTS" scfile=/scratch/kocevski/99262/ft2_4FGL_J1150.4+2418_daily_bin18.fits sctable="SC_DATA" expcube=/scratch/kocevski/99262/ltcube_243993601_244252801_4FGL_J1150.4+2418_daily_bin18.fits outfile=/scratch/kocevski/99262/expmap_243993601_244252801_4FGL_J1150.4+2418_daily_bin18.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/99262/ltcube_243993601_244252801_4FGL_J1150.4+2418_daily_bin18.fits
.....................!
real 190.52
user 185.25
sys 4.92

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/99262/ft1_filtered_4FGL_J1150.4+2418_daily_bin18.fits scfile=/scratch/kocevski/99262/ft2_4FGL_J1150.4+2418_daily_bin18.fits outfile=/scratch/kocevski/99262/cmap_243993601_244252801_4FGL_J1150.4+2418_daily_bin18.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/99262/ft1_filtered_4FGL_J1150.4+2418_daily_bin18.fits scfile=/scratch/kocevski/99262/ft2_4FGL_J1150.4+2418_daily_bin18.fits outfile=/scratch/kocevski/99262/cmap_HighResolution_243993601_244252801_4FGL_J1150.4+2418_daily_bin18.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.55
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.4396       1.0000         .10000E-03   10000.    
     3 'norm      '    1.6759       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0436       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.101       1.0000         .10000E-03   10000.    
     6 'Prefactor '    76.133       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .28551       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .75963       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6224       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.2698       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.8709       1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.654       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .86784       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.9135       1.0000         .10000E-03   10000.    
    18 'norm      '    14.071       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.0720       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.4314       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .78777E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    .43110       1.0000         .10000E-03   10000.    
    23 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .83782       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0643       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=   5741.443     FROM MIGRAD    STATUS=CONVERGED    658 CALLS     3170 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .82762        .98511E-07** at limit **
   2  Prefactor     7.4378        6.6361       -.54850E-06   -.26248E-03
   3  norm          1.6749        6.3460        .19741E-05    .54314E-04
   4  Prefactor     1.0423        22.794        .70680E-05    .54114E-04
   5  Prefactor     14.104        13.371       -.81729E-07   -.23500E-04
   6  Prefactor     76.093        46.059       -.46909E-06   -.26394E-03
   7  Prefactor     .10000E-03    11.567        .42847E-08** at limit **
   8  Prefactor     .28356        3.0748       -.81262E-06    .73766E-03
   9  Prefactor     .74310        13.050       -.19831E-05    .36317E-03
  10  Prefactor     .10000E-03    2.3077        .51244E-08** at limit **
  11  Prefactor     2.6218        1.8084       -.29584E-07    .11326E-03
  12  Prefactor     .10000E-03    17.570        .61307E-07** at limit **
  13  norm          3.2696        1.2766        .42462E-08    .12539E-03
  14  Prefactor     1.8713        2.3480        .13043E-06   -.94154E-05
  15  Prefactor     12.659        22.388       -.11580E-06   -.12288E-03
  16  Prefactor     .86750        1.6601        .22254E-06    .45776E-03
  17  Prefactor     1.9125        3.1863        .49288E-06    .26070E-04
  18  norm          14.072        4.4176        .45699E-07   -.12157E-04
  19  Prefactor     2.0718        1.9606       -.63608E-08   -.46516E-05
  20  Prefactor     5.4325        2.6763        .29528E-07   -.12286E-03
  21  Prefactor     .10038E-03    5.7321        .47680E-06** at limit **
  22  norm          .43128        .27293        .24610E-07   -.66677E-03
  23  norm          .10000E-03    2.6849        .17266E-06** at limit **
  24  Prefactor     .10000E-03    2.6840        .36217E-07** at limit **
  25  Normalizat    .83782        .18244       -.85775E-06   -.18652E-03
  26  Prefactor     1.0646        .19367       -.14647E-05   -.20070E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.43777
  norm       = 1.67492
  Prefactor  = 1.0423
  Prefactor  = 14.1039
  Prefactor  = 76.0933
  Prefactor  = 0.0001
  Prefactor  = 0.283557
  Prefactor  = 0.743105
  Prefactor  = 0.0001
  Prefactor  = 2.62183
  Prefactor  = 0.0001
  norm       = 3.26957
  Prefactor  = 1.87134
  Prefactor  = 12.6587
  Prefactor  = 0.8675
  Prefactor  = 1.91254
  norm       = 14.0722
  Prefactor  = 2.07182
  Prefactor  = 5.43247
  Prefactor  = 0.00010038
  norm       = 0.431278
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.837819
  Prefactor  = 1.06456
 **********
 **   18 **HESSE 
 **********

 FCN=   5741.443     FROM HESSE     STATUS=OK           482 CALLS     3652 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .83913        .67338E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.4378        6.6337        .14704E-03   -1.5162    
   3  norm          1.6749        6.3419        .32551E-03   -1.5449    
   4  Prefactor     1.0423        24.006        .48839E-02   -1.5504    
   5  Prefactor     14.104        13.339        .10666E-03   -1.4957    
   6  Prefactor     76.093        45.863        .46020E-04   -1.3961    
   7  Prefactor     .10000E-03    11.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .28356        16.277        .23409E-02   -1.5601    
   9  Prefactor     .74310        46.017        .46776E-02   -1.5536    
  10  Prefactor     .10000E-03    2.3097        .11241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.6218        1.7941        .79707E-04   -1.5384    
  12  Prefactor     .10000E-03    17.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.2696        1.2733        .51294E-04   -1.5346    
  14  Prefactor     1.8713        2.3250        .12552E-03   -1.5434    
  15  Prefactor     12.659        22.349        .11261E-03   -1.4996    
  16  Prefactor     .86750        1.2988        .12600E-02   -1.5522    
  17  Prefactor     1.9125        3.0773        .15788E-03   -1.5431    
  18  norm          14.072        4.4120        .81738E-04   -1.4958    
  19  Prefactor     2.0718        1.9650        .96678E-04   -1.5420    
  20  Prefactor     5.4325        2.6761        .81607E-04   -1.5242    
  21  Prefactor     .10038E-03    6.6561        .51207E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .43128        .26827        .29202E-04   -1.5577    
  23  norm          .10000E-03    2.7267        .12109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    2.6860        .12123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .83782        .21480        .25572E-03   -.98681    
  26  Prefactor     1.0646        .22729        .25753E-03   -.90607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.63151e-09
Minuit parameter uncertainties:
  1  2.59257e-06
  2  6.63438
  3  6.34447
  4  10.0083
  5  13.3419
  6  45.8843
  7  4.49048e-05
  8  4.29718
  9  11.704
  10  1.16162e-06
  11  1.79418
  12  5.76886e-05
  13  1.27329
  14  2.32511
  15  22.3634
  16  1.29879
  17  3.07758
  18  4.41206
  19  1.96502
  20  2.67616
  21  0.00318176
  22  0.268272
  23  6.9102e-06
  24  1.76866e-06
  25  0.215022
  26  0.227494
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  2.622e+00  1.794e+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:  1.065e+00  2.275e-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:  8.378e-01  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.16
Ra Dec: 177.603 24.302
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 4.54e-08 +/- 3.10e-08
Energy Flux (Fixed Index): 1.94e-05 +/- 1.32e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5741.38966642
delta logL = 0.0533414768206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5741.38713932
delta logL = 0.0558685741898

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5741.387     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      296 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0653        2.3350        .85954E-04    .35447E-04
   2  Index         2.0386        .54523        .67235E-02    .15271E-03
   3  Normalizat    .84675        .20249        .25446E-03    .43828E-04
   4  Prefactor     1.0572        .22700        .25826E-03    .27953E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.06526
  Index      = 2.03859
  Normalizat = 0.84675
  Prefactor  = 1.0572
 **********
 **   18 **HESSE 
 **********

 FCN=   5741.387     FROM HESSE     STATUS=OK            25 CALLS      321 TOTAL
                     EDM=   .53E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0653        2.2966        .34382E-05   -1.5358    
   2  Index         2.0386        .53615        .13447E-02   -.63389    
   3  Normalizat    .84675        .20263        .10179E-04   -.98357    
   4  Prefactor     1.0572        .22718        .10330E-04   -.90846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.25232e-12
Minuit parameter uncertainties:
  1  2.29666
  2  0.537746
  3  0.202807
  4  0.227387
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/99262': 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) = 5741.38713848
delta logL = 0.055869416733

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  3.065e+00  2.297e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.039e+00  5.377e-01  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:  1.057e+00  2.274e-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:  8.468e-01  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.25
Ra Dec: 177.603 24.302
Photon Index (Free Index): 2.04 +/- 0.54
Photon Flux (Free Index): 3.97e-08 +/- 3.19e-08
Energy Flux (Free Index): 2.50e-05 +/- 2.64e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/99262/cmap_HighResolution_243993601_244252801_4FGL_J1150.4+2418_daily_bin18.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.54e-08', energy_flux2='2.50e-05', photon_flux_error='3.10e-08', dlogl='5.59e-02', energy_flux='1.94e-05', photon_flux2='3.97e-08', job_status='DONE', time_completed='2021-09-04 12:51:47.892830', photon_index_error2='0.54', photon_index2='2.04', ts='4.16', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.64e-05', EG='0.84', time_epoch_completed='1630785107.89', return_code='0', job_id='99262', GAL2='1.06', EG2='0.85', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='3.19e-08', ts2='4.25', photon_index='2.23' WHERE bin_id='18' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 12:51:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 99262: <4FGL_J1150.4+2418_daily_bin18> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin18> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 12:36:43 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:36:44 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:36:44 2021
Terminated at Sat Sep  4 12:51:48 2021
Results reported at Sat Sep  4 12:51:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin18 177.603 24.3016 243993601 244252801 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 :                                   663.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             266.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            905 sec.

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

