/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 211 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 = 7394
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1450.4+0910_daily_bin166
RA = 222.624, Dec = 9.1818
tmin = 282355201, tmax = 282614401
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='805052', job_status='RUN', time_executed='2021-09-10 10:40:17.419761', time_epoch_executed='1631295617.42' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='166'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805052

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805052/ft1_4FGL_J1450.4+0910_daily_bin166.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805052/ft2_4FGL_J1450.4+0910_daily_bin166.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805052/ft1_4FGL_J1450.4+0910_daily_bin166.fits outfile=/scratch/kocevski/805052/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin166.fits ra=222.624 dec=9.1818 rad=12.0 tmin=282355201.0 tmax=282614401.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.65
user 3.44
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/805052/ft2_4FGL_J1450.4+0910_daily_bin166.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/805052/ft2_4FGL_J1450.4+0910_daily_bin166.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/805052/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin166.fits evtable="EVENTS" outfile="/scratch/kocevski/805052/ft1_filtered_4FGL_J1450.4+0910_daily_bin166.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/805052/ft1_filtered_4FGL_J1450.4+0910_daily_bin166.fits" evtable="EVENTS" scfile=/scratch/kocevski/805052/ft2_4FGL_J1450.4+0910_daily_bin166.fits sctable="SC_DATA" outfile=/scratch/kocevski/805052/ltcube_282355201_282614401_4FGL_J1450.4+0910_daily_bin166.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/805052/ft2_4FGL_J1450.4+0910_daily_bin166.fits
.....................!
real 11.71
user 11.37
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805052/ft1_filtered_4FGL_J1450.4+0910_daily_bin166.fits evtable="EVENTS" scfile=/scratch/kocevski/805052/ft2_4FGL_J1450.4+0910_daily_bin166.fits sctable="SC_DATA" expcube=/scratch/kocevski/805052/ltcube_282355201_282614401_4FGL_J1450.4+0910_daily_bin166.fits outfile=/scratch/kocevski/805052/expmap_282355201_282614401_4FGL_J1450.4+0910_daily_bin166.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/805052/ltcube_282355201_282614401_4FGL_J1450.4+0910_daily_bin166.fits
.....................!
real 190.76
user 185.46
sys 4.94

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

Setting source of interest to:
4FGL J1450.4+0910 @ 222.624 9.1818

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/805052/ft1_filtered_4FGL_J1450.4+0910_daily_bin166.fits scfile=/scratch/kocevski/805052/ft2_4FGL_J1450.4+0910_daily_bin166.fits outfile=/scratch/kocevski/805052/cmap_282355201_282614401_4FGL_J1450.4+0910_daily_bin166.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=222.624 yref=9.1818 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.56
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805052/ft1_filtered_4FGL_J1450.4+0910_daily_bin166.fits scfile=/scratch/kocevski/805052/ft2_4FGL_J1450.4+0910_daily_bin166.fits outfile=/scratch/kocevski/805052/cmap_HighResolution_282355201_282614401_4FGL_J1450.4+0910_daily_bin166.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=222.624 yref=9.1818 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.62
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/805052/ft1_filtered_4FGL_J1450.4+0910_daily_bin166.fits evtable="EVENTS" scfile=/scratch/kocevski/805052/ft2_4FGL_J1450.4+0910_daily_bin166.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/805052/Model_4FGL_J1450.4+0910_daily_bin166.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/805052/ft1_filtered_4FGL_J1450.4+0910_daily_bin166.fits.....................!
real 51.43
user 49.12
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/805052/ft1_filtered_4FGL_J1450.4+0910_daily_bin166.fits', '/scratch/kocevski/805052/ft2_4FGL_J1450.4+0910_daily_bin166.fits', expMap='/scratch/kocevski/805052/expmap_282355201_282614401_4FGL_J1450.4+0910_daily_bin166.fits', expCube='/scratch/kocevski/805052/ltcube_282355201_282614401_4FGL_J1450.4+0910_daily_bin166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/805052/Model_4FGL_J1450.4+0910_daily_bin166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1450.4+0910'

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  4.181e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/805052/ft1_filtered_4FGL_J1450.4+0910_daily_bin166.fits
Spacecraft file(s): /scratch/kocevski/805052/ft2_4FGL_J1450.4+0910_daily_bin166.fits
Exposure map: /scratch/kocevski/805052/expmap_282355201_282614401_4FGL_J1450.4+0910_daily_bin166.fits
Exposure cube: /scratch/kocevski/805052/ltcube_282355201_282614401_4FGL_J1450.4+0910_daily_bin166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/805052/Model_4FGL_J1450.4+0910_daily_bin166.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) = 6335.92288255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3731       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.6068       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.6772       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8157       1.0000         .10000E-03   10000.    
    15 'norm      '    .74662       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10446E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    46.115       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.8940       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2047       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6335.921     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2931 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3619        85.249       -.15487E-04   -.27997E-04
   2  Prefactor     .10000E-03    10.736        .30133E-06** at limit **
   3  norm          .10000E-03    5.9683        .18764E-06** at limit **
   4  Prefactor     .10000E-03    2.5035        .60195E-07** at limit **
   5  Prefactor     .10000E-03    4.6297        .63344E-07** at limit **
   6  norm          1.6068        2.5168       -.12270E-06   -.50037E-03
   7  Prefactor     .10000E-03    29.852        .22770E-06** at limit **
   8  Prefactor     .10000E-03    21.161        .38926E-05** at limit **
   9  norm          .10000E-03    14.208       -.75324E-06** at limit **
  10  Prefactor     .10000E-03    24.089       -.39131E-05** at limit **
  11  Prefactor     8.6791        26.740        .12248E-05   -.17956E-04
  12  Prefactor     .10000E-03    5.6053       -.95011E-07** at limit **
  13  Prefactor     .10000E-03    7.3147        .64616E-06** at limit **
  14  Prefactor     3.7905        49.137       -.26166E-04   -.25336E-04
  15  norm          .74662        .23832       -.12581E-07   -.60018E-03
  16  norm          .10000E-03    1.0309       -.43986E-08** at limit **
  17  norm          .10000E-03    7.1802       -.72786E-06** at limit **
  18  norm          .10000E-03    85.809        .45549E-05** at limit **
  19  norm          .10000E-03    3.5161       -.57150E-07** at limit **
  20  Prefactor     46.120        44.576        .39065E-05   -.35981E-05
  21  Prefactor     1.9099        182.70        .44541E-04   -.29431E-04
  22  Normalizat    1.2047        .21671       -.33271E-06   -.61800E-04
  23  Prefactor     .94780        .12882       -.17405E-06   -.81282E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.36195
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.60684
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.67912
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.79046
  norm       = 0.746616
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 46.1197
  Prefactor  = 1.90986
  Normalizat = 1.20466
  Prefactor  = 0.947796
 **********
 **   18 **HESSE 
 **********

 FCN=   6335.921     FROM HESSE     STATUS=OK           364 CALLS     3295 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3619        86.799        .26596E-03   -1.5401    
   2  Prefactor     .10000E-03    10.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.9691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.5076        .12299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.7155        .16718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6068        2.4917        .15353E-03   -1.5454    
   7  Prefactor     .10000E-03    29.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    14.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    24.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.6791        26.718        .13608E-03   -1.5119    
  12  Prefactor     .10000E-03    5.6141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.3228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.7905        50.085        .20663E-03   -1.5319    
  15  norm          .74662        .23778        .20720E-04   -1.5535    
  16  norm          .10000E-03    1.0446        .78852E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    7.2680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    86.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.6048        .29126E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     46.120        44.606        .59043E-04   -1.4349    
  21  Prefactor     1.9099        176.98        .30231E-03   -1.5432    
  22  Normalizat    1.2047        .25837        .29600E-03   -.86459    
  23  Prefactor     .94780        .15415        .19883E-03   -.94490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15558e-10
Minuit parameter uncertainties:
  1  28.6811
  2  5.81342e-06
  3  6.16672e-07
  4  8.49323e-06
  5  1.75704e-05
  6  2.4919
  7  4.39035e-06
  8  2.11685e-06
  9  9.25795e-07
  10  6.80173e-05
  11  26.7544
  12  1.638e-05
  13  3.2898e-05
  14  27.5847
  15  0.237781
  16  1.80404e-06
  17  2.80956e-06
  18  5.88997e-05
  19  7.9674e-06
  20  44.6386
  21  36.8822
  22  0.258642
  23  0.154225
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  8.679e+00  2.675e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  9.478e-01  1.542e-01  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  1.205e+00  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/805052/likelihoodResults_282355201_282614401_4FGL_J1450.4+0910_daily_bin166.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) = 6335.90293573
delta logL = 0.0183963048767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6335.90082926
delta logL = 0.0205027703341

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4222       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7397       1.0000          .0000       10.000    
     3 'Normalizat'    1.1951       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95113       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4830E+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=   6335.901     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      264 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4205        28.836        .14721E-03    .28496E-04
   2  Index         2.7425        2.0781        .13372E-01    .19523E-03
   3  Normalizat    1.1952        .25935        .29698E-03   -.28226E-03
   4  Prefactor     .95100        .15420        .19852E-03   -.42479E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.4205
  Index      = 2.74253
  Normalizat = 1.19522
  Prefactor  = 0.950999
 **********
 **   18 **HESSE 
 **********

 FCN=   6335.901     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4205        24.973        .58886E-05   -1.5163    
   2  Index         2.7425        1.8133        .26745E-02   -.46844    
   3  Normalizat    1.1952        .25915        .59397E-04   -.86751    
   4  Prefactor     .95100        .15394        .39705E-04   -.94381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66527e-10
Minuit parameter uncertainties:
  1  25.0083
  2  1.86735
  3  0.259427
  4  0.154013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805052': 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) = 6335.90082688
delta logL = 0.0205051592184

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  7.420e+00  2.501e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.743e+00  1.867e+00  0.000e+00  1.000e+01 (-1.000e+00)
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  9.510e-01  1.540e-01  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  1.195e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 222.624 9.182

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/805052/cmap_HighResolution_282355201_282614401_4FGL_J1450.4+0910_daily_bin166.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2021-09-10 10:50:22.138338', job_id='805052', GAL2='0.95', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1631296222.14', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.05e-02', ts2='0.16', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='166' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:50:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 805052: <4FGL_J1450.4+0910_daily_bin166> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin166> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 10 10:36:34 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:36:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 10:36:37 2021
Terminated at Fri Sep 10 10:50:22 2021
Results reported at Fri Sep 10 10:50:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin166 222.624 9.1818 282355201 282614401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1450.4+0910 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   603.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            828 sec.

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

