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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin579
RA = 222.624, Dec = 9.1818
tmin = 389404801, tmax = 389664001
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='808609', job_status='RUN', time_executed='2021-09-10 10:49:47.154151', time_epoch_executed='1631296187.15' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='579'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808609

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808609/ft1_4FGL_J1450.4+0910_daily_bin579.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808609/ft2_4FGL_J1450.4+0910_daily_bin579.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808609/ft1_4FGL_J1450.4+0910_daily_bin579.fits outfile=/scratch/kocevski/808609/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin579.fits ra=222.624 dec=9.1818 rad=12.0 tmin=389404801.0 tmax=389664001.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 4.04
user 3.79
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/808609/ft1_filtered_4FGL_J1450.4+0910_daily_bin579.fits" evtable="EVENTS" scfile=/scratch/kocevski/808609/ft2_4FGL_J1450.4+0910_daily_bin579.fits sctable="SC_DATA" outfile=/scratch/kocevski/808609/ltcube_389404801_389664001_4FGL_J1450.4+0910_daily_bin579.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/808609/ft2_4FGL_J1450.4+0910_daily_bin579.fits
.....................!
real 11.78
user 11.41
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808609/ft1_filtered_4FGL_J1450.4+0910_daily_bin579.fits evtable="EVENTS" scfile=/scratch/kocevski/808609/ft2_4FGL_J1450.4+0910_daily_bin579.fits sctable="SC_DATA" expcube=/scratch/kocevski/808609/ltcube_389404801_389664001_4FGL_J1450.4+0910_daily_bin579.fits outfile=/scratch/kocevski/808609/expmap_389404801_389664001_4FGL_J1450.4+0910_daily_bin579.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/808609/ltcube_389404801_389664001_4FGL_J1450.4+0910_daily_bin579.fits
.....................!
real 190.21
user 185.49
sys 4.31

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/808609/ft1_filtered_4FGL_J1450.4+0910_daily_bin579.fits scfile=/scratch/kocevski/808609/ft2_4FGL_J1450.4+0910_daily_bin579.fits outfile=/scratch/kocevski/808609/cmap_389404801_389664001_4FGL_J1450.4+0910_daily_bin579.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/808609/ft1_filtered_4FGL_J1450.4+0910_daily_bin579.fits scfile=/scratch/kocevski/808609/ft2_4FGL_J1450.4+0910_daily_bin579.fits outfile=/scratch/kocevski/808609/cmap_HighResolution_389404801_389664001_4FGL_J1450.4+0910_daily_bin579.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.58
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6919       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .47085       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8615       1.0000         .10000E-03   10000.    
     6 'norm      '    7.4302       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.726       1.0000         .10000E-03   10000.    
     9 'norm      '    3.9192       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.585       1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.127       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .11884       1.0000         .10000E-03   10000.    
    16 'norm      '    5.4870       1.0000         .10000E-03   10000.    
    17 'norm      '    7.1444       1.0000         .10000E-03   10000.    
    18 'norm      '    .10469E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.5539       1.0000         .10000E-03   10000.    
    20 'Prefactor '    44.448       1.0000         .10000E-03   10000.    
    21 'Prefactor '    70.197       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0565       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .81234       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=   6981.881     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2626 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6782        29.075       -.10303E-05   -.33512E-04
   2  Prefactor     .10000E-03    33.531       -.38411E-05** at limit **
   3  norm          .37560        24.736        .40566E-05   -.43507E-03
   4  Prefactor     .10000E-03    5.0005       -.18006E-06** at limit **
   5  Prefactor     3.8608        6.6822        .67838E-07    .20206E-04
   6  norm          7.4302        3.9537        .99119E-06    .76532E-03
   7  Prefactor     .10000E-03    31.522        .25108E-05** at limit **
   8  Prefactor     12.686        48.009        .23447E-05   -.80250E-04
   9  norm          3.9498        39.835       -.31327E-05   -.70022E-04
  10  Prefactor     .10000E-03    48.916        .14367E-05** at limit **
  11  Prefactor     17.584        16.986        .21347E-06    .97562E-05
  12  Prefactor     24.126        17.743       -.17349E-06   -.35191E-04
  13  Prefactor     .10000E-03    135.23       -.13485E-05** at limit **
  14  Prefactor     .10000E-03    48.008       -.62188E-06** at limit **
  15  norm          .11883        .11477        .17192E-07    .25036E-03
  16  norm          5.4865        2.7022        .59111E-07    .32364E-04
  17  norm          7.1423        5.9038       -.35694E-07   -.28918E-04
  18  norm          .10000E-03    15.438       -.22888E-07** at limit **
  19  norm          3.5536        3.1086       -.12711E-07   -.10770E-04
  20  Prefactor     44.480        34.270        .15003E-05    .14970E-03
  21  Prefactor     70.220        39.401        .12029E-05    .14243E-03
  22  Normalizat    1.0566        .20276        .24565E-06   -.12203E-03
  23  Prefactor     .81227        .11833       -.61555E-06   -.11698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.67824
  Prefactor  = 0.000100003
  norm       = 0.375599
  Prefactor  = 0.0001
  Prefactor  = 3.8608
  norm       = 7.43017
  Prefactor  = 0.000100001
  Prefactor  = 12.6857
  norm       = 3.94984
  Prefactor  = 0.0001
  Prefactor  = 17.5837
  Prefactor  = 24.1261
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.118834
  norm       = 5.48647
  norm       = 7.14233
  norm       = 0.0001
  norm       = 3.55359
  Prefactor  = 44.4799
  Prefactor  = 70.2198
  Normalizat = 1.05662
  Prefactor  = 0.812274
 **********
 **   18 **HESSE 
 **********

 FCN=   6981.881     FROM HESSE     STATUS=OK           382 CALLS     3008 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6782        29.229        .14459E-03   -1.5154    
   2  Prefactor     .10000E-03    34.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .37560        17.723        .10695       -1.5585    
   4  Prefactor     .10000E-03    5.0533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.8608        6.6615        .20535E-03   -1.5315    
   6  norm          7.4302        3.9593        .58132E-03   -1.5163    
   7  Prefactor     .10000E-03    31.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.686        47.058        .11229E-03   -1.4995    
   9  norm          3.9498        37.660        .20379E-03   -1.5310    
  10  Prefactor     .10000E-03    49.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.584        16.993        .95509E-04   -1.4869    
  12  Prefactor     24.126        17.738        .81550E-04   -1.4725    
  13  Prefactor     .10000E-03    140.36        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    48.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .11883        .11183        .26520E-04   -1.5639    
  16  norm          5.4865        2.6993        .88702E-04   -1.5239    
  17  norm          7.1423        5.8988        .15007E-03   -1.5173    
  18  norm          .10000E-03    15.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.5536        3.1091        .13174E-03   -1.5331    
  20  Prefactor     44.480        34.375        .60135E-04   -1.4373    
  21  Prefactor     70.220        39.537        .47912E-04   -1.4030    
  22  Normalizat    1.0566        .24562        .28597E-03   -.91157    
  23  Prefactor     .81227        .14251        .19601E-03   -.99277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.20663e-10
Minuit parameter uncertainties:
  1  29.2837
  2  0.000634917
  3  5.16101
  4  5.7106e-06
  5  6.66283
  6  3.95942
  7  0.000399709
  8  47.1961
  9  24.4127
  10  0.000228803
  11  16.9981
  12  17.7419
  13  0.000365252
  14  0.000112364
  15  0.111834
  16  2.69931
  17  5.8993
  18  2.28509e-06
  19  3.10923
  20  34.3903
  21  39.5518
  22  0.245888
  23  0.142573
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.758e+01  1.700e+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.123e-01  1.426e-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.057e+00  2.459e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.00
Ra Dec: 222.624 9.182
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 3.27e-08 +/- 3.16e-08
Energy Flux (Fixed Index): 1.08e-05 +/- 1.04e-05

TS (Fixed Index): 2.00
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/808609/likelihoodResults_389404801_389664001_4FGL_J1450.4+0910_daily_bin579.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) = 6981.87651287
delta logL = 0.00487166664152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6981.87511239
delta logL = 0.00627214367887

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.492       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2992       1.0000          .0000       10.000    
     3 'Normalizat'    1.0609       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81060       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=   6981.875     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      268 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.493        19.691        .93138E-04   -.10717E-03
   2  Index         2.2992        .84641        .95167E-02   -.52036E-04
   3  Normalizat    1.0607        .23379        .28549E-03    .11098E-03
   4  Prefactor     .81074        .14160        .19617E-03    .17913E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.4929
  Index      = 2.2992
  Normalizat = 1.06069
  Prefactor  = 0.810738
 **********
 **   18 **HESSE 
 **********

 FCN=   6981.875     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.493        19.299        .37255E-05   -1.4848    
   2  Index         2.2992        .82894        .38067E-03   -.57063    
   3  Normalizat    1.0607        .23382        .11419E-04   -.91024    
   4  Prefactor     .81074        .14168        .78469E-05   -.99334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48382e-10
Minuit parameter uncertainties:
  1  19.306
  2  0.834395
  3  0.23405
  4  0.141746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808609': 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) = 6981.87511192
delta logL = 0.00627261411591

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.849e+01  1.931e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.299e+00  8.344e-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.107e-01  1.417e-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.061e+00  2.341e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.01
Ra Dec: 222.624 9.182
Photon Index (Free Index): 2.30 +/- 0.83
Photon Flux (Free Index): 2.96e-08 +/- 3.97e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.18e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/808609/cmap_HighResolution_389404801_389664001_4FGL_J1450.4+0910_daily_bin579.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.42e-03', comment='SUCCESS', photon_flux='3.27e-08', energy_flux2='1.12e-05', photon_flux_error='3.16e-08', dlogl='6.27e-03', energy_flux='1.08e-05', photon_flux2='2.96e-08', job_status='DONE', time_completed='2021-09-10 11:00:14.566833', photon_index_error2='0.83', photon_index2='2.30', ts='2.00', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.18e-05', EG='1.06', time_epoch_completed='1631296814.57', return_code='0', job_id='808609', GAL2='0.81', EG2='1.06', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='3.97e-08', ts2='2.01', photon_index='2.39' WHERE bin_id='579' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:00:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 808609: <4FGL_J1450.4+0910_daily_bin579> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin579> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 10:46:40 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:46:42 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:46:42 2021
Terminated at Fri Sep 10 11:00:15 2021
Results reported at Fri Sep 10 11:00:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin579 222.624 9.1818 389404801 389664001 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 :                                   630.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            815 sec.

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

