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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin194
RA = 222.624, Dec = 9.1818
tmin = 289612801, tmax = 289872001
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='805099', job_status='RUN', time_executed='2021-09-10 10:39:19.445380', time_epoch_executed='1631295559.45' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='194'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805099

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805099/ft1_4FGL_J1450.4+0910_daily_bin194.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805099/ft2_4FGL_J1450.4+0910_daily_bin194.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805099/ft1_4FGL_J1450.4+0910_daily_bin194.fits outfile=/scratch/kocevski/805099/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin194.fits ra=222.624 dec=9.1818 rad=12.0 tmin=289612801.0 tmax=289872001.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 6.69
user 3.27
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/805099/ft2_4FGL_J1450.4+0910_daily_bin194.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/805099/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin194.fits evtable="EVENTS" outfile="/scratch/kocevski/805099/ft1_filtered_4FGL_J1450.4+0910_daily_bin194.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.55
user 0.34
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805099/ft1_filtered_4FGL_J1450.4+0910_daily_bin194.fits evtable="EVENTS" scfile=/scratch/kocevski/805099/ft2_4FGL_J1450.4+0910_daily_bin194.fits sctable="SC_DATA" expcube=/scratch/kocevski/805099/ltcube_289612801_289872001_4FGL_J1450.4+0910_daily_bin194.fits outfile=/scratch/kocevski/805099/expmap_289612801_289872001_4FGL_J1450.4+0910_daily_bin194.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/805099/ltcube_289612801_289872001_4FGL_J1450.4+0910_daily_bin194.fits
.....................!
real 192.45
user 187.32
sys 4.61

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/805099/ft1_filtered_4FGL_J1450.4+0910_daily_bin194.fits scfile=/scratch/kocevski/805099/ft2_4FGL_J1450.4+0910_daily_bin194.fits outfile=/scratch/kocevski/805099/cmap_289612801_289872001_4FGL_J1450.4+0910_daily_bin194.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805099/ft1_filtered_4FGL_J1450.4+0910_daily_bin194.fits scfile=/scratch/kocevski/805099/ft2_4FGL_J1450.4+0910_daily_bin194.fits outfile=/scratch/kocevski/805099/cmap_HighResolution_289612801_289872001_4FGL_J1450.4+0910_daily_bin194.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13473E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.3380       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1862       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    122.98       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.613       1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.199       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .15588       1.0000         .10000E-03   10000.    
    16 'norm      '    .61134E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.9430       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3861       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83716       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=   6139.377     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2583 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.465       -.18847E-04** at limit **
   2  Prefactor     .10005E-03    90.472       -.37629E-04** at limit **
   3  norm          2.2983        108.63       -.78446E-04    .48130E-04
   4  Prefactor     5.1848        6.8048        .57493E-06   -.26080E-04
   5  Prefactor     .10000E-03    9.3980       -.84511E-07** at limit **
   6  norm          .10000E-03    .76570       -.10654E-07** at limit **
   7  Prefactor     122.99        84.231        .43020E-05    .69879E-04
   8  Prefactor     .10000E-03    6.4368        .33475E-07** at limit **
   9  norm          .10000E-03    4.1110       -.67731E-07** at limit **
  10  Prefactor     11.613        19.909       -.18185E-05   -.10365E-03
  11  Prefactor     42.201        22.384       -.53497E-06    .25519E-04
  12  Prefactor     .10000E-03    6.8020       -.29423E-06** at limit **
  13  Prefactor     .10000E-03    19.169        .18027E-04** at limit **
  14  Prefactor     .10000E-03    60.711        .44347E-04** at limit **
  15  norm          .15590        .12042       -.29226E-07   -.79355E-03
  16  norm          .10021E-03    .86717       -.50146E-07** at limit **
  17  norm          .10000E-03    1.9354       -.23376E-07** at limit **
  18  norm          .10000E-03    18.454        .66803E-05** at limit **
  19  norm          .10000E-03    1.7010        .20951E-07** at limit **
  20  Prefactor     7.9411        31.862       -.39691E-05   -.82398E-05
  21  Prefactor     .10000E-03    17.327       -.17107E-04** at limit **
  22  Normalizat    1.3860        .21905        .21996E-05    .31824E-03
  23  Prefactor     .83713        .13311        .45589E-06    .40352E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100047
  norm       = 2.2983
  Prefactor  = 5.18479
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 122.986
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.6126
  Prefactor  = 42.2005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.1559
  norm       = 0.000100209
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 7.94109
  Prefactor  = 0.0001
  Normalizat = 1.38598
  Prefactor  = 0.837129
 **********
 **   18 **HESSE 
 **********

 FCN=   6139.377     FROM HESSE     STATUS=OK           366 CALLS     2949 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10005E-03    90.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2983        109.23        .26816E-03   -1.5405    
   4  Prefactor     5.1848        6.7992        .17652E-03   -1.5253    
   5  Prefactor     .10000E-03    9.7460        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .76794        .66952E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     122.99        84.313        .36294E-04   -1.3485    
   8  Prefactor     .10000E-03    6.4374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.1122        .15516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.613        19.944        .11756E-03   -1.5026    
  11  Prefactor     42.201        22.404        .61710E-04   -1.4408    
  12  Prefactor     .10000E-03    6.8240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    61.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .15590        .11839        .23027E-04   -1.5629    
  16  norm          .10021E-03    1.4738        .26868E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.9362        .10646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    18.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.7133        .99769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.9411        32.016        .14227E-03   -1.5144    
  21  Prefactor     .10000E-03    17.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3860        .26614        .26973E-03   -.81035    
  23  Prefactor     .83713        .16170        .20714E-03   -.98374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.44456e-10
Minuit parameter uncertainties:
  1  2.75759e-05
  2  0.00414049
  3  31.7491
  4  6.80018
  5  7.17774e-05
  6  1.17164e-06
  7  84.3958
  8  4.05192e-06
  9  2.48715e-06
  10  19.9559
  11  22.4086
  12  1.62954e-05
  13  8.31814e-05
  14  0.00074154
  15  0.118391
  16  0.00110885
  17  7.66897e-07
  18  5.53233e-06
  19  2.97583e-06
  20  31.9193
  21  5.60338e-06
  22  0.266406
  23  0.161795
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  4.220e+01  2.241e+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.371e-01  1.618e-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.386e+00  2.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.16
Ra Dec: 222.624 9.182
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 7.84e-08 +/- 4.16e-08
Energy Flux (Fixed Index): 2.59e-05 +/- 1.38e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.35829596
delta logL = 1.01886410741

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.30459428
delta logL = 1.07256578831

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.920       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7554       1.0000          .0000       10.000    
     3 'Normalizat'    1.4266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82473       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=   6138.305     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      246 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.909        32.492        .28101E-03    .36088E-04
   2  Index         1.7553        .44145        .72104E-02    .64402E-04
   3  Normalizat    1.4265        .25981        .26666E-03    .71965E-03
   4  Prefactor     .82473        .15973        .20863E-03    .85456E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.9094
  Index      = 1.7553
  Normalizat = 1.42654
  Prefactor  = 0.824735
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.305     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.909        32.776        .11240E-04   -1.4280    
   2  Index         1.7553        .44529        .28841E-03   -.70619    
   3  Normalizat    1.4265        .26006        .53331E-04   -.79864    
   4  Prefactor     .82473        .15988        .41727E-04   -.98823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57534e-10
Minuit parameter uncertainties:
  1  32.7876
  2  0.446311
  3  0.260306
  4  0.159971
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805099': 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) = 6138.30459421
delta logL = 1.07256585231

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  5.091e+01  3.279e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  1.755e+00  4.463e-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.247e-01  1.600e-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.427e+00  2.603e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.28
Ra Dec: 222.624 9.182
Photon Index (Free Index): 1.76 +/- 0.45
Photon Flux (Free Index): 3.94e-08 +/- 3.59e-08
Energy Flux (Free Index): 5.41e-05 +/- 5.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/805099/cmap_HighResolution_289612801_289872001_4FGL_J1450.4+0910_daily_bin194.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.84e-08', energy_flux2='5.41e-05', photon_flux_error='4.16e-08', dlogl='1.07e+00', energy_flux='2.59e-05', photon_flux2='3.94e-08', job_status='DONE', time_completed='2021-09-10 10:48:26.908092', photon_index_error2='0.45', photon_index2='1.76', ts='13.16', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='5.01e-05', EG='1.39', time_epoch_completed='1631296106.91', return_code='0', job_id='805099', GAL2='0.82', EG2='1.43', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='3.59e-08', ts2='15.28', photon_index='2.39' WHERE bin_id='194' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:48:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 805099: <4FGL_J1450.4+0910_daily_bin194> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin194> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 10 10:36:38 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:36: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:36:39 2021
Terminated at Fri Sep 10 10:48:27 2021
Results reported at Fri Sep 10 10:48:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin194 222.624 9.1818 289612801 289872001 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 :                                   542.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            709 sec.

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

