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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin250
RA = 222.624, Dec = 9.1818
tmin = 304128001, tmax = 304387201
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='806654', job_status='RUN', time_executed='2021-09-10 10:44:55.916970', time_epoch_executed='1631295895.92' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='250'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/806654

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/806654/ft1_4FGL_J1450.4+0910_daily_bin250.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/806654/ft2_4FGL_J1450.4+0910_daily_bin250.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/806654/ft1_4FGL_J1450.4+0910_daily_bin250.fits outfile=/scratch/kocevski/806654/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin250.fits ra=222.624 dec=9.1818 rad=12.0 tmin=304128001.0 tmax=304387201.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.41
user 3.18
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/806654/ft2_4FGL_J1450.4+0910_daily_bin250.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/806654/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin250.fits evtable="EVENTS" outfile="/scratch/kocevski/806654/ft1_filtered_4FGL_J1450.4+0910_daily_bin250.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/806654/ft1_filtered_4FGL_J1450.4+0910_daily_bin250.fits" evtable="EVENTS" scfile=/scratch/kocevski/806654/ft2_4FGL_J1450.4+0910_daily_bin250.fits sctable="SC_DATA" outfile=/scratch/kocevski/806654/ltcube_304128001_304387201_4FGL_J1450.4+0910_daily_bin250.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/806654/ft2_4FGL_J1450.4+0910_daily_bin250.fits
.....................!
real 12.26
user 11.90
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/806654/ft1_filtered_4FGL_J1450.4+0910_daily_bin250.fits evtable="EVENTS" scfile=/scratch/kocevski/806654/ft2_4FGL_J1450.4+0910_daily_bin250.fits sctable="SC_DATA" expcube=/scratch/kocevski/806654/ltcube_304128001_304387201_4FGL_J1450.4+0910_daily_bin250.fits outfile=/scratch/kocevski/806654/expmap_304128001_304387201_4FGL_J1450.4+0910_daily_bin250.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/806654/ltcube_304128001_304387201_4FGL_J1450.4+0910_daily_bin250.fits
.....................!
real 191.66
user 186.21
sys 5.07

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/806654/ft1_filtered_4FGL_J1450.4+0910_daily_bin250.fits scfile=/scratch/kocevski/806654/ft2_4FGL_J1450.4+0910_daily_bin250.fits outfile=/scratch/kocevski/806654/cmap_304128001_304387201_4FGL_J1450.4+0910_daily_bin250.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/806654/ft1_filtered_4FGL_J1450.4+0910_daily_bin250.fits scfile=/scratch/kocevski/806654/ft2_4FGL_J1450.4+0910_daily_bin250.fits outfile=/scratch/kocevski/806654/cmap_HighResolution_304128001_304387201_4FGL_J1450.4+0910_daily_bin250.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.57
user 0.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/806654/ft1_filtered_4FGL_J1450.4+0910_daily_bin250.fits', '/scratch/kocevski/806654/ft2_4FGL_J1450.4+0910_daily_bin250.fits', expMap='/scratch/kocevski/806654/expmap_304128001_304387201_4FGL_J1450.4+0910_daily_bin250.fits', expCube='/scratch/kocevski/806654/ltcube_304128001_304387201_4FGL_J1450.4+0910_daily_bin250.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/806654/Model_4FGL_J1450.4+0910_daily_bin250.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/806654/ft1_filtered_4FGL_J1450.4+0910_daily_bin250.fits
Spacecraft file(s): /scratch/kocevski/806654/ft2_4FGL_J1450.4+0910_daily_bin250.fits
Exposure map: /scratch/kocevski/806654/expmap_304128001_304387201_4FGL_J1450.4+0910_daily_bin250.fits
Exposure cube: /scratch/kocevski/806654/ltcube_304128001_304387201_4FGL_J1450.4+0910_daily_bin250.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/806654/Model_4FGL_J1450.4+0910_daily_bin250.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) = 6527.69571613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10786E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1456       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16839E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.6065       1.0000         .10000E-03   10000.    
     7 'Prefactor '    72.803       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6469       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.983       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.1719       1.0000         .10000E-03   10000.    
    15 'norm      '    .56661       1.0000         .10000E-03   10000.    
    16 'norm      '    4.2234       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    18.764       1.0000         .10000E-03   10000.    
    19 'norm      '    2.4249       1.0000         .10000E-03   10000.    
    20 'Prefactor '    34.006       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .49167       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3178       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .85846       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=   6527.689     FROM MIGRAD    STATUS=CONVERGED    923 CALLS     2996 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10044E-03    26.715        .11477    ** at limit **
   2  Prefactor     .10000E-03    6.5533        .18142E-02** at limit **
   3  norm          .10000E-03    7.1755        .18142E-02** at limit **
   4  Prefactor     3.1440        4.5649        .10066E-02    .21060E-03
   5  Prefactor     .10000E-03    9.2119        .36285E-03** at limit **
   6  norm          2.6059        2.4327        .11849E-03    .27796E-03
   7  Prefactor     72.782        64.367        .23526E-03    .29284E-04
   8  Prefactor     .10000E-03    30.867        .18142E-02** at limit **
   9  norm          .10000E-03    11.249        .18142E-02** at limit **
  10  Prefactor     3.6353        37.912        .21154E-03    .18380E-04
  11  Prefactor     15.979        16.893        .10018E-03    .48683E-04
  12  Prefactor     .10000E-03    9.4410        .18142E-02** at limit **
  13  Prefactor     .10000E-03    10.597        .18142E-02** at limit **
  14  Prefactor     3.1699        47.334        .22756E-03    .54456E-05
  15  norm          .56657        .19331        .19853E-04    .12873E-02
  16  norm          4.2224        2.7134        .99072E-04    .10305E-03
  17  norm          .10000E-03    2.6185        .12742E-02** at limit **
  18  norm          18.762        30.466        .92462E-04    .40575E-05
  19  norm          2.4244        4.1194        .20155E-03    .25664E-04
  20  Prefactor     33.995        42.644        .68718E-04    .21011E-04
  21  Prefactor     .18403        30.445        .10833        .34662E-03
  22  Normalizat    1.3181        .26824        .27580E-03    .54528E-03
  23  Prefactor     .85846        .16289        .20812E-03    .71758E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100438
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.14398
  Prefactor  = 0.0001
  norm       = 2.60587
  Prefactor  = 72.7824
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.63526
  Prefactor  = 15.9787
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.16991
  norm       = 0.566573
  norm       = 4.22244
  norm       = 0.0001
  norm       = 18.7625
  norm       = 2.42437
  Prefactor  = 33.9946
  Prefactor  = 0.184031
  Normalizat = 1.31814
  Prefactor  = 0.858455
 **********
 **   18 **HESSE 
 **********

 FCN=   6527.689     FROM HESSE     STATUS=OK           366 CALLS     3362 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10044E-03    26.093        .11676       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.5534        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.1756        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1440        4.5635        .40265E-04   -1.5353    
   5  Prefactor     .10000E-03    9.2124        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.6059        2.4327        .47396E-05   -1.5385    
   7  Prefactor     72.782        64.363        .94105E-05   -1.4000    
   8  Prefactor     .10000E-03    30.874        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    11.251        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.6353        37.893        .84614E-05   -1.5327    
  11  Prefactor     15.979        16.891        .40073E-05   -1.4908    
  12  Prefactor     .10000E-03    9.4441        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.598        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.1699        47.334        .91022E-05   -1.5352    
  15  norm          .56657        .19331        .79414E-06   -1.5557    
  16  norm          4.2224        2.7129        .39629E-05   -1.5297    
  17  norm          .10000E-03    2.6187        .25483E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.762        30.458        .36985E-05   -1.4841    
  19  norm          2.4244        4.1188        .80622E-05   -1.5397    
  20  Prefactor     33.995        42.653        .27487E-05   -1.4541    
  21  Prefactor     .18403        27.685        .11518       -1.5622    
  22  Normalizat    1.3181        .26843        .55159E-04   -.83026    
  23  Prefactor     .85846        .16305        .41624E-04   -.97608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4672e-09
Minuit parameter uncertainties:
  1  0.00676113
  2  7.26699e-06
  3  3.22416e-06
  4  4.56404
  5  8.34606e-05
  6  2.43275
  7  64.4244
  8  9.55988e-06
  9  6.73277e-06
  10  23.4924
  11  16.8964
  12  1.51191e-05
  13  3.44236e-05
  14  24.5214
  15  0.193307
  16  2.71302
  17  2.40571e-06
  18  30.4834
  19  4.11927
  20  42.691
  21  4.51525
  22  0.268716
  23  0.163146
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.598e+01  1.690e+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:  8.585e-01  1.631e-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.318e+00  2.687e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.72
Ra Dec: 222.624 9.182
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 2.97e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 9.81e-06 +/- 1.04e-05

TS (Fixed Index): 1.72
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/806654/likelihoodResults_304128001_304387201_4FGL_J1450.4+0910_daily_bin250.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) = 6527.65605888
delta logL = 0.0326963530088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6527.64877748
delta logL = 0.0399777467828

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.225       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1525       1.0000          .0000       10.000    
     3 'Normalizat'    1.3265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85521       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=   6527.649     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      241 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.224        20.425        .93818E-04    .38242E-03
   2  Index         2.1523        .84110        .10295E-01    .11791E-03
   3  Normalizat    1.3265        .25574        .27507E-03   -.12291E-03
   4  Prefactor     .85525        .15950        .20847E-03   -.17838E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.2242
  Index      = 2.15232
  Normalizat = 1.3265
  Prefactor  = 0.855251
 **********
 **   18 **HESSE 
 **********

 FCN=   6527.649     FROM HESSE     STATUS=OK            23 CALLS      264 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.224        20.199        .18764E-04   -1.4854    
   2  Index         2.1523        .83172        .41179E-03   -.60594    
   3  Normalizat    1.3265        .25594        .11003E-04   -.82779    
   4  Prefactor     .85525        .15965        .83386E-05   -.97723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.40005e-10
Minuit parameter uncertainties:
  1  20.2064
  2  0.837502
  3  0.256183
  4  0.159736
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/806654': 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) = 6527.64877715
delta logL = 0.0399780857406

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.822e+01  2.021e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.152e+00  8.375e-01  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:  8.553e-01  1.597e-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.327e+00  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.80
Ra Dec: 222.624 9.182
Photon Index (Free Index): 2.15 +/- 0.84
Photon Flux (Free Index): 2.34e-08 +/- 3.41e-08
Energy Flux (Free Index): 1.15e-05 +/- 1.48e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/806654/cmap_HighResolution_304128001_304387201_4FGL_J1450.4+0910_daily_bin250.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.42e-03', comment='SUCCESS', photon_flux='2.97e-08', energy_flux2='1.15e-05', photon_flux_error='3.14e-08', dlogl='4.00e-02', energy_flux='9.81e-06', photon_flux2='2.34e-08', job_status='DONE', time_completed='2021-09-10 10:55:34.641720', photon_index_error2='0.84', photon_index2='2.15', ts='1.72', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.48e-05', EG='1.32', time_epoch_completed='1631296534.64', return_code='0', job_id='806654', GAL2='0.86', EG2='1.33', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='3.41e-08', ts2='1.80', photon_index='2.39' WHERE bin_id='250' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:55:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 806654: <4FGL_J1450.4+0910_daily_bin250> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin250> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Sep 10 10:41:38 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:41:39 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:41:39 2021
Terminated at Fri Sep 10 10:55:35 2021
Results reported at Fri Sep 10 10:55:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin250 222.624 9.1818 304128001 304387201 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 :                                   641.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             241.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            837 sec.

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

