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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin1526
RA = 177.603, Dec = 24.3016
tmin = 634867201, tmax = 635126401
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='107326', job_status='RUN', time_executed='2021-09-04 13:04:06.551746', time_epoch_executed='1630785846.55' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='1526'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107326

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107326/ft1_4FGL_J1150.4+2418_daily_bin1526.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107326/ft2_4FGL_J1150.4+2418_daily_bin1526.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107326/ft1_4FGL_J1150.4+2418_daily_bin1526.fits outfile=/scratch/kocevski/107326/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1526.fits ra=177.603 dec=24.3016 rad=12.0 tmin=634867201.0 tmax=635126401.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.00
user 2.77
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107326/ft1_filtered_4FGL_J1150.4+2418_daily_bin1526.fits" evtable="EVENTS" scfile=/scratch/kocevski/107326/ft2_4FGL_J1150.4+2418_daily_bin1526.fits sctable="SC_DATA" outfile=/scratch/kocevski/107326/ltcube_634867201_635126401_4FGL_J1150.4+2418_daily_bin1526.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/107326/ft2_4FGL_J1150.4+2418_daily_bin1526.fits
.....................!
real 15.36
user 14.93
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107326/ft1_filtered_4FGL_J1150.4+2418_daily_bin1526.fits evtable="EVENTS" scfile=/scratch/kocevski/107326/ft2_4FGL_J1150.4+2418_daily_bin1526.fits sctable="SC_DATA" expcube=/scratch/kocevski/107326/ltcube_634867201_635126401_4FGL_J1150.4+2418_daily_bin1526.fits outfile=/scratch/kocevski/107326/expmap_634867201_635126401_4FGL_J1150.4+2418_daily_bin1526.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/107326/ltcube_634867201_635126401_4FGL_J1150.4+2418_daily_bin1526.fits
.....................!
real 191.27
user 185.36
sys 5.49

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/107326/ft1_filtered_4FGL_J1150.4+2418_daily_bin1526.fits scfile=/scratch/kocevski/107326/ft2_4FGL_J1150.4+2418_daily_bin1526.fits outfile=/scratch/kocevski/107326/cmap_634867201_635126401_4FGL_J1150.4+2418_daily_bin1526.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107326/ft1_filtered_4FGL_J1150.4+2418_daily_bin1526.fits scfile=/scratch/kocevski/107326/ft2_4FGL_J1150.4+2418_daily_bin1526.fits outfile=/scratch/kocevski/107326/cmap_HighResolution_634867201_635126401_4FGL_J1150.4+2418_daily_bin1526.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.175       1.0000         .10000E-03   10000.    
     3 'norm      '    29.608       1.0000         .10000E-03   10000.    
     4 'Prefactor '    62.282       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.845       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3563       1.0000         .10000E-03   10000.    
    12 'Prefactor '    72.145       1.0000         .10000E-03   10000.    
    13 'norm      '    9.5277       1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.337       1.0000         .10000E-03   10000.    
    15 'Prefactor '    60.529       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.3186       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.3222       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.9128       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.0018       1.0000         .10000E-03   10000.    
    23 'norm      '    16.637       1.0000         .10000E-03   10000.    
    24 'Prefactor '    18.449       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .22936       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.4054       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=   1708.318     FROM MIGRAD    STATUS=CONVERGED     84 CALLS     3025 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    18.212       -.25278E-04** at limit **
   2  Prefactor     13.163        2.2484       -.24423E-05    .38021E-02
   3  norm          29.601        1.5485       -.97791E-06    .34024E-02
   4  Prefactor     62.275        1.5865       -.68672E-06    .49972E-02
   5  Prefactor     .10051E-03    10.345        .52083E-05** at limit **
   6  Prefactor     .10005E-03    82.177       -.33736E-04** at limit **
   7  Prefactor     .10018E-03    22.624        .31593E-04** at limit **
   8  Prefactor     .10000E-03    13.172        .85758E-05** at limit **
   9  Prefactor     40.847        1.0299        .72439E-07   -.10213E-02
  10  Prefactor     .10000E-03    8.2793       -.20471E-05** at limit **
  11  Prefactor     2.3557        4.1347       -.16517E-04   -.12697E-02
  12  Prefactor     72.145        1.0003       -.59288E-08    .25923E-03
  13  norm          9.5279        3.7285        .89155E-06    .23591E-03
  14  Prefactor     22.337        1.0129       -.20685E-06   -.27217E-03
  15  Prefactor     60.537        1.7454        .86179E-06   -.63939E-02
  16  Prefactor     2.3180        1.0951        .47230E-06   -.33220E-03
  17  Prefactor     .10000E-03    6.5214        .42603E-06** at limit **
  18  norm          5.3220        2.6051        .51878E-05   -.19731E-02
  19  Prefactor     .10000E-03    1.7003        .32816E-06** at limit **
  20  Prefactor     1.9126        3.5436       -.51659E-05    .21689E-03
  21  Prefactor     .10000E-03    2.7547        .24165E-06** at limit **
  22  norm          1.0018        .53310       -.90072E-07   -.90624E-03
  23  norm          16.637        1.0069       -.41976E-07    .22160E-03
  24  Prefactor     18.449        1.0100       -.39786E-07    .91691E-04
  25  Normalizat    .22899        .45192        .24218E-05    .51449E-05
  26  Prefactor     1.4058        .47890        .56716E-05    .16127E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010011
  Prefactor  = 13.1631
  norm       = 29.6014
  Prefactor  = 62.2749
  Prefactor  = 0.000100514
  Prefactor  = 0.000100049
  Prefactor  = 0.000100176
  Prefactor  = 0.000100001
  Prefactor  = 40.8467
  Prefactor  = 0.0001
  Prefactor  = 2.35572
  Prefactor  = 72.1446
  norm       = 9.52793
  Prefactor  = 22.3372
  Prefactor  = 60.5371
  Prefactor  = 2.31803
  Prefactor  = 0.0001
  norm       = 5.32199
  Prefactor  = 0.0001
  Prefactor  = 1.91259
  Prefactor  = 0.0001
  norm       = 1.00184
  norm       = 16.6372
  Prefactor  = 18.4489
  Normalizat = 0.228991
  Prefactor  = 1.40576
 **********
 **   18 **HESSE 
 **********

 FCN=   1708.318     FROM HESSE     STATUS=OK           512 CALLS     3537 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10011E-03    20.647        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.163        74.379        .27588E-02   -1.4982    
   3  norm          29.601        62.122        .18408E-02   -1.4619    
   4  Prefactor     62.275        72.277        .12711E-02   -1.4128    
   5  Prefactor     .10051E-03    25.604        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10005E-03    83.006        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10018E-03    30.956        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.171        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     40.847        84.642        .15680E-02   -1.4429    
  10  Prefactor     .10000E-03    8.2787        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3557        5.2256        .66750E-02   -1.5401    
  12  Prefactor     72.145        113.98        .11816E-02   -1.4007    
  13  norm          9.5279        3.9448        .32458E-02   -1.5091    
  14  Prefactor     22.337        15.064        .21188E-02   -1.4762    
  15  Prefactor     60.537        148.78        .12893E-02   -1.4150    
  16  Prefactor     2.3180        7.5339        .67350E-02   -1.5403    
  17  Prefactor     .10000E-03    6.4832        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.3220        5.0194        .43553E-02   -1.5247    
  19  Prefactor     .10000E-03    1.6962        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.9126        4.0322        .75137E-02   -1.5431    
  21  Prefactor     .10000E-03    2.7521        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.0018        .65176        .45195E-02   -1.5508    
  23  norm          16.637        8.1614        .24548E-02   -1.4892    
  24  Prefactor     18.449        15.405        .23312E-02   -1.4849    
  25  Normalizat    .22899        1.3236        .13205       -1.2736    
  26  Prefactor     1.4058        .85560        .59935E-01   -.80214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80062e-06
Minuit parameter uncertainties:
  1  0.00301472
  2  62.6991
  3  62.2586
  4  72.3788
  5  0.00725683
  6  0.0040584
  7  0.00467415
  8  0.00020313
  9  84.8923
  10  4.94067e-05
  11  5.22661
  12  114.328
  13  3.94495
  14  15.0664
  15  149.703
  16  7.53703
  17  2.80563e-05
  18  5.01977
  19  2.28678e-05
  20  4.03278
  21  6.21075e-06
  22  0.651769
  23  8.16196
  24  15.4085
  25  1.11592
  26  0.864488
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  2.356e+00  5.227e+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.406e+00  8.645e-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:  2.290e-01  1.116e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.33
Ra Dec: 177.603 24.302
Photon Flux Upper Limit: 2.69e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107326/likelihoodResults_634867201_635126401_4FGL_J1150.4+2418_daily_bin1526.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) = 1708.22850579
delta logL = 0.0898491042253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1708.22484671
delta logL = 0.0935081766606

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5612       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8778       1.0000          .0000       10.000    
     3 'Normalizat'    .19502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4266       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=   1708.225     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      239 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5599        94.790        .85136E-02    .19497E-03
   2  Index         2.8774        6.0395        .12233        .35833E-04
   3  Normalizat    .19455        .12018        .14319        .24811E-04
   4  Prefactor     1.4268        .12377        .59506E-01    .57600E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.55988
  Index      = 2.87742
  Normalizat = 0.194549
  Prefactor  = 1.42681
 **********
 **   18 **HESSE 
 **********

 FCN=   1708.225     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5599        4.8358        .76906E-04   -1.5458    
   2  Index         2.8774        1.8578        .67141E-02   -.43843    
   3  Normalizat    .19455        .44803        .62838E-03   -1.2981    
   4  Prefactor     1.4268        .48410        .26310E-03   -.79611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.81567e-09
Minuit parameter uncertainties:
  1  4.83702
  2  1.91433
  3  0.456752
  4  0.485655
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107326': 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) = 1708.22484513
delta logL = 0.0935097583806

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.560e+00  4.837e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.877e+00  1.914e+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:  1.427e+00  4.857e-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.945e-01  4.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.33
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/107326/cmap_HighResolution_634867201_635126401_4FGL_J1150.4+2418_daily_bin1526.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.05e-02', job_status='DONE', photon_flux_upper_limit='2.69e-07', time_completed='2021-09-04 13:11:44.497948', job_id='107326', GAL2='1.43', fit_tolerance='1e-08', EG2='0.19', EG='0.23', time_epoch_completed='1630786304.5', return_code2='0', ts='0.33', comment='SUCCESS', return_code='0', GAL='1.41', dlogl='9.35e-02', ts2='0.52', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1526' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:11:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 107326: <4FGL_J1150.4+2418_daily_bin1526> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin1526> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 13:01:47 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:01:48 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:48 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_bin1526 177.603 24.3016 634867201 635126401 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 :                                   452.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            597 sec.

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

