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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin424
RA = 222.624, Dec = 9.1818
tmin = 349228801, tmax = 349488001
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='808376', job_status='RUN', time_executed='2021-09-10 10:49:32.425706', time_epoch_executed='1631296172.43' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='424'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808376

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808376/ft1_4FGL_J1450.4+0910_daily_bin424.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808376/ft2_4FGL_J1450.4+0910_daily_bin424.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808376/ft1_4FGL_J1450.4+0910_daily_bin424.fits outfile=/scratch/kocevski/808376/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin424.fits ra=222.624 dec=9.1818 rad=12.0 tmin=349228801.0 tmax=349488001.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.44
user 3.22
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808376/ft1_filtered_4FGL_J1450.4+0910_daily_bin424.fits evtable="EVENTS" scfile=/scratch/kocevski/808376/ft2_4FGL_J1450.4+0910_daily_bin424.fits sctable="SC_DATA" expcube=/scratch/kocevski/808376/ltcube_349228801_349488001_4FGL_J1450.4+0910_daily_bin424.fits outfile=/scratch/kocevski/808376/expmap_349228801_349488001_4FGL_J1450.4+0910_daily_bin424.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/808376/ltcube_349228801_349488001_4FGL_J1450.4+0910_daily_bin424.fits
.....................!
real 189.89
user 185.48
sys 4.06

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/808376/ft1_filtered_4FGL_J1450.4+0910_daily_bin424.fits scfile=/scratch/kocevski/808376/ft2_4FGL_J1450.4+0910_daily_bin424.fits outfile=/scratch/kocevski/808376/cmap_349228801_349488001_4FGL_J1450.4+0910_daily_bin424.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.52
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    14.208       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.163       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.0331       1.0000         .10000E-03   10000.    
     7 'Prefactor '    77.591       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.371       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.110       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.4215       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.575       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .12297E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    6.0293       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      '    11.132       1.0000         .10000E-03   10000.    
    20 'Prefactor '    41.716       1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.345       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1223       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95925       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=   7477.289     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2519 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.6902       -.48006E-06** at limit **
   2  Prefactor     .10000E-03    41.586       -.10676E-05** at limit **
   3  norm          14.202        20.251       -.28593E-05    .59222E-04
   4  Prefactor     21.161        9.3806        .28164E-07   -.13612E-04
   5  Prefactor     .10000E-03    3.6558       -.11284E-07** at limit **
   6  norm          1.0330        1.2738        .56878E-08    .23710E-04
   7  Prefactor     77.593        68.404        .20303E-05   -.12603E-04
   8  Prefactor     .10000E-03    14.339       -.76606E-05** at limit **
   9  norm          12.374        14.733        .20695E-06    .49296E-04
  10  Prefactor     10.108        25.295       -.22367E-05    .15510E-05
  11  Prefactor     5.4212        11.087       -.19346E-06   -.26533E-04
  12  Prefactor     .10000E-03    4.8659        .33088E-07** at limit **
  13  Prefactor     22.575        23.966        .89952E-06   -.17604E-04
  14  Prefactor     .10000E-03    19.375        .33801E-05** at limit **
  15  norm          .12796E-02    .10654       -.10076E-06** at limit **
  16  norm          6.0296        3.1184        .37478E-07   -.22243E-03
  17  norm          .10000E-03    2.4771       -.34050E-08** at limit **
  18  norm          .10000E-03    12.506        .56260E-05** at limit **
  19  norm          11.132        4.9505       -.62138E-06   -.25505E-02
  20  Prefactor     41.717        33.746        .20961E-06    .14756E-05
  21  Prefactor     22.347        28.980        .14205E-05   -.24985E-04
  22  Normalizat    1.1222        .20695       -.14139E-06    .12724E-03
  23  Prefactor     .95923        .12544        .25688E-06    .14201E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.2024
  Prefactor  = 21.1609
  Prefactor  = 0.0001
  norm       = 1.03303
  Prefactor  = 77.5932
  Prefactor  = 0.000100001
  norm       = 12.3739
  Prefactor  = 10.1084
  Prefactor  = 5.42116
  Prefactor  = 0.0001
  Prefactor  = 22.5751
  Prefactor  = 0.0001
  norm       = 0.00127958
  norm       = 6.02957
  norm       = 0.0001
  norm       = 0.0001
  norm       = 11.1319
  Prefactor  = 41.7166
  Prefactor  = 22.3466
  Normalizat = 1.12224
  Prefactor  = 0.959227
 **********
 **   18 **HESSE 
 **********

 FCN=   7477.289     FROM HESSE     STATUS=OK           378 CALLS     2897 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    42.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          14.202        20.177        .10626E-03   -1.4954    
   4  Prefactor     21.161        9.3955        .87067E-04   -1.4788    
   5  Prefactor     .10000E-03    3.6963        .16121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.0330        1.2735        .49772E-04   -1.5505    
   7  Prefactor     77.593        68.348        .45588E-04   -1.3944    
   8  Prefactor     .10000E-03    13.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.374        14.732        .11389E-03   -1.5004    
  10  Prefactor     10.108        25.296        .12602E-03   -1.5072    
  11  Prefactor     5.4212        11.082        .17258E-03   -1.5242    
  12  Prefactor     .10000E-03    4.8734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.575        23.896        .84304E-04   -1.4757    
  14  Prefactor     .10000E-03    19.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .12796E-02    .16215        .78636E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.0296        3.1207        .10035E-03   -1.5217    
  17  norm          .10000E-03    2.4824        .13290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    12.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          11.132        5.4149        .60038E-03   -1.5041    
  20  Prefactor     41.717        33.769        .62065E-04   -1.4415    
  21  Prefactor     22.347        28.936        .84735E-04   -1.4762    
  22  Normalizat    1.1222        .24924        .30177E-03   -.89041    
  23  Prefactor     .95923        .15123        .20205E-03   -.94101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30451e-09
Minuit parameter uncertainties:
  1  9.40373e-06
  2  0.000147747
  3  20.1862
  4  9.39611
  5  1.54762e-06
  6  1.27356
  7  68.4173
  8  0.000188305
  9  14.7364
  10  25.3223
  11  11.0859
  12  8.17827e-08
  13  23.9065
  14  0.000107779
  15  0.0276602
  16  3.12074
  17  8.86778e-07
  18  0.000131962
  19  5.4151
  20  33.7843
  21  28.9546
  22  0.249504
  23  0.151294
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  5.421e+00  1.109e+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.592e-01  1.513e-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.122e+00  2.495e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 7.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/808376/likelihoodResults_349228801_349488001_4FGL_J1450.4+0910_daily_bin424.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) = 7476.57043814
delta logL = 0.718454907533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7476.53894897
delta logL = 0.749944073634

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9631       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3038       1.0000          .0000       10.000    
     3 'Normalizat'    1.1340       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95301       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.

 FCN=   7476.539     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      216 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9679        9.7063        .35522E-02   -.34274E-03
   2  Index         1.3035        .47735        .32415       -.76008E-04
   3  Normalizat    1.1342        .19747        .67871E-01    .80945E-05
   4  Prefactor     .95292        .12388        .45677E-01   -.13338E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.96787
  Index      = 1.30347
  Normalizat = 1.13416
  Prefactor  = 0.952922
 **********
 **   18 **HESSE 
 **********

 FCN=   7476.539     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9679        11.220        .71044E-03   -1.5143    
   2  Index         1.3035        .66429        .11882E-01   -.83204    
   3  Normalizat    1.1342        .23756        .30028E-03   -.88663    
   4  Prefactor     .95292        .14922        .20251E-03   -.94316    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76683e-11
Minuit parameter uncertainties:
  1  11.223
  2  0.66868
  3  0.237787
  4  0.149286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808376': 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) = 7476.53894808
delta logL = 0.749944967217

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  7.968e+00  1.122e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  1.303e+00  6.687e-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:  9.529e-01  1.493e-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.134e+00  2.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.85
Ra Dec: 222.624 9.182
Photon Index (Free Index): 1.30 +/- 0.67
Photon Flux (Free Index): 4.75e-09 +/- 6.67e-09
Energy Flux (Free Index): 2.87e-05 +/- 5.35e-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/808376/cmap_HighResolution_349228801_349488001_4FGL_J1450.4+0910_daily_bin424.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.04e-03', comment='SUCCESS', energy_flux2='2.87e-05', dlogl='7.50e-01', photon_flux2='4.75e-09', job_status='DONE', time_completed='2021-09-10 11:00:07.615270', photon_index_error2='0.67', photon_index2='1.30', ts='0.35', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='7.82e-08', energy_flux_error2='5.35e-05', EG='1.12', time_epoch_completed='1631296807.62', return_code='0', job_id='808376', GAL2='0.95', EG2='1.13', return_code2='0', photon_flux_error2='6.67e-09', ts2='1.85', photon_index='2.39' WHERE bin_id='424' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:00:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 808376: <4FGL_J1450.4+0910_daily_bin424> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin424 222.624 9.1818 349228801 349488001 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 :                                   636.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             282.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            827 sec.

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

