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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin890
RA = 220.242, Dec = 6.1631
tmin = 470016001, tmax = 470275201
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='700138', job_status='RUN', time_executed='2021-09-10 05:03:36.354138', time_epoch_executed='1631275416.35' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='890'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700138

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700138/ft1_4FGL_J1440.9+0609_daily_bin890.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700138/ft2_4FGL_J1440.9+0609_daily_bin890.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700138/ft1_4FGL_J1440.9+0609_daily_bin890.fits outfile=/scratch/kocevski/700138/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin890.fits ra=220.242 dec=6.1631 rad=12.0 tmin=470016001.0 tmax=470275201.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.51
user 3.27
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/700138/ft2_4FGL_J1440.9+0609_daily_bin890.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/700138/ft2_4FGL_J1440.9+0609_daily_bin890.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/700138/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin890.fits evtable="EVENTS" outfile="/scratch/kocevski/700138/ft1_filtered_4FGL_J1440.9+0609_daily_bin890.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700138/ft1_filtered_4FGL_J1440.9+0609_daily_bin890.fits" evtable="EVENTS" scfile=/scratch/kocevski/700138/ft2_4FGL_J1440.9+0609_daily_bin890.fits sctable="SC_DATA" outfile=/scratch/kocevski/700138/ltcube_470016001_470275201_4FGL_J1440.9+0609_daily_bin890.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/700138/ft2_4FGL_J1440.9+0609_daily_bin890.fits
.....................!
real 12.02
user 11.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700138/ft1_filtered_4FGL_J1440.9+0609_daily_bin890.fits evtable="EVENTS" scfile=/scratch/kocevski/700138/ft2_4FGL_J1440.9+0609_daily_bin890.fits sctable="SC_DATA" expcube=/scratch/kocevski/700138/ltcube_470016001_470275201_4FGL_J1440.9+0609_daily_bin890.fits outfile=/scratch/kocevski/700138/expmap_470016001_470275201_4FGL_J1440.9+0609_daily_bin890.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/700138/ltcube_470016001_470275201_4FGL_J1440.9+0609_daily_bin890.fits
.....................!
real 191.82
user 186.38
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 150 point sources and 0 extended sources

Setting source of interest to:
4FGL J1440.9+0609 @ 220.242 6.1631

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/700138/ft1_filtered_4FGL_J1440.9+0609_daily_bin890.fits scfile=/scratch/kocevski/700138/ft2_4FGL_J1440.9+0609_daily_bin890.fits outfile=/scratch/kocevski/700138/cmap_470016001_470275201_4FGL_J1440.9+0609_daily_bin890.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=220.242 yref=6.1631 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700138/ft1_filtered_4FGL_J1440.9+0609_daily_bin890.fits scfile=/scratch/kocevski/700138/ft2_4FGL_J1440.9+0609_daily_bin890.fits outfile=/scratch/kocevski/700138/cmap_HighResolution_470016001_470275201_4FGL_J1440.9+0609_daily_bin890.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=220.242 yref=6.1631 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/700138/ft1_filtered_4FGL_J1440.9+0609_daily_bin890.fits evtable="EVENTS" scfile=/scratch/kocevski/700138/ft2_4FGL_J1440.9+0609_daily_bin890.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/700138/Model_4FGL_J1440.9+0609_daily_bin890.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/700138/ft1_filtered_4FGL_J1440.9+0609_daily_bin890.fits.....................!
real 52.95
user 51.59
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/700138/ft1_filtered_4FGL_J1440.9+0609_daily_bin890.fits', '/scratch/kocevski/700138/ft2_4FGL_J1440.9+0609_daily_bin890.fits', expMap='/scratch/kocevski/700138/expmap_470016001_470275201_4FGL_J1440.9+0609_daily_bin890.fits', expCube='/scratch/kocevski/700138/ltcube_470016001_470275201_4FGL_J1440.9+0609_daily_bin890.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/700138/Model_4FGL_J1440.9+0609_daily_bin890.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1440.9+0609'

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  8.135e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.120e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/700138/ft1_filtered_4FGL_J1440.9+0609_daily_bin890.fits
Spacecraft file(s): /scratch/kocevski/700138/ft2_4FGL_J1440.9+0609_daily_bin890.fits
Exposure map: /scratch/kocevski/700138/expmap_470016001_470275201_4FGL_J1440.9+0609_daily_bin890.fits
Exposure cube: /scratch/kocevski/700138/ltcube_470016001_470275201_4FGL_J1440.9+0609_daily_bin890.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/700138/Model_4FGL_J1440.9+0609_daily_bin890.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) = 6732.52240039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4284       1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.053       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    17.370       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.143       1.0000         .10000E-03   10000.    
     6 'norm      '    17.997       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.971       1.0000         .10000E-03   10000.    
    11 'norm      '    7.9548       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4362       1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.241       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.690       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.174       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.1214       1.0000         .10000E-03   10000.    
    18 'norm      '    2.5539       1.0000         .10000E-03   10000.    
    19 'norm      '    3.8310       1.0000         .10000E-03   10000.    
    20 'norm      '    1.9660       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .98760       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0232       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6732.471     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2541 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4320        15.406        .25474E-05   -.40108E-04
   2  Prefactor     24.049        27.205       -.58975E-05   -.20584E-04
   3  Prefactor     .10000E-03    39.060       -.38843E-05** at limit **
   4  norm          17.366        13.074        .37252E-06    .11511E-05
   5  Prefactor     21.146        25.174        .27686E-05    .11065E-04
   6  norm          17.994        25.627       -.46191E-05    .30836E-05
   7  Prefactor     .10000E-03    4.4446       -.25897E-06** at limit **
   8  Prefactor     .10000E-03    2.5713       -.41147E-07** at limit **
   9  Prefactor     .10000E-03    20.501        .20120E-04** at limit **
  10  Prefactor     25.084        70.139        .21887E-03    .21293E-03
  11  norm          7.8868        47.104       -.20367E-03    .30718E-04
  12  Prefactor     4.4370        27.120        .15283E-05   -.34262E-04
  13  Prefactor     28.242        24.261        .75182E-06    .10051E-03
  14  Prefactor     18.692        18.944        .13623E-05   -.10052E-04
  15  Prefactor     13.171        16.030       -.99278E-06   -.90290E-05
  16  Prefactor     .10000E-03    9.7043        .12558E-05** at limit **
  17  norm          2.1214        .33145       -.69799E-08    .28696E-03
  18  norm          2.5539        2.8298       -.64891E-06   -.62243E-03
  19  norm          3.8305        4.2629        .11268E-05    .15233E-03
  20  norm          1.9657        3.8542        .16881E-05   -.65711E-03
  21  Prefactor     .10000E-03    18.858       -.16376E-04** at limit **
  22  Normalizat    .98752        .23625       -.51964E-05    .32374E-03
  23  Prefactor     1.0233        .14053        .88519E-06    .81675E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.43195
  Prefactor  = 24.0488
  Prefactor  = 0.0001
  norm       = 17.3657
  Prefactor  = 21.1455
  norm       = 17.9941
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.0838
  norm       = 7.88677
  Prefactor  = 4.43697
  Prefactor  = 28.2419
  Prefactor  = 18.6925
  Prefactor  = 13.1714
  Prefactor  = 0.0001
  norm       = 2.12145
  norm       = 2.55392
  norm       = 3.83047
  norm       = 1.96571
  Prefactor  = 0.0001
  Normalizat = 0.987515
  Prefactor  = 1.02325
 **********
 **   18 **HESSE 
 **********

 FCN=   6732.471     FROM HESSE     STATUS=OK           374 CALLS     2915 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4320        15.379        .14715E-03   -1.5163    
   2  Prefactor     24.049        27.194        .81675E-04   -1.4727    
   3  Prefactor     .10000E-03    39.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          17.366        13.076        .96099E-04   -1.4874    
   5  Prefactor     21.146        25.218        .87109E-04   -1.4788    
   6  norm          17.994        25.624        .94410E-04   -1.4859    
   7  Prefactor     .10000E-03    4.5503        .16889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.5967        .12846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    20.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.084        70.180        .80163E-04   -1.4706    
  11  norm          7.8868        47.465        .14216E-03   -1.5146    
  12  Prefactor     4.4370        27.007        .19119E-03   -1.5287    
  13  Prefactor     28.242        24.287        .75388E-04   -1.4645    
  14  Prefactor     18.692        18.939        .92643E-04   -1.4843    
  15  Prefactor     13.171        16.009        .11036E-03   -1.4982    
  16  Prefactor     .10000E-03    9.7049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.1214        .33228        .17605E-04   -1.5417    
  18  norm          2.5539        2.8049        .13319E-03   -1.5388    
  19  norm          3.8305        4.2654        .17442E-03   -1.5317    
  20  norm          1.9657        3.8224        .21245E-03   -1.5428    
  21  Prefactor     .10000E-03    18.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .98752        .27995        .33806E-03   -.93450    
  23  Prefactor     1.0233        .16697        .20643E-03   -.91958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75093e-09
Minuit parameter uncertainties:
  1  15.3872
  2  27.2081
  3  0.000130159
  4  13.078
  5  25.231
  6  25.6395
  7  1.33581e-05
  8  6.13983e-06
  9  6.17727e-05
  10  70.4124
  11  38.7417
  12  21.9077
  13  24.2952
  14  18.9453
  15  16.0143
  16  1.10967e-06
  17  0.332277
  18  2.80507
  19  4.26574
  20  3.82283
  21  2.16764e-05
  22  0.280365
  23  0.167056
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.508e+01  7.041e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.120e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  1.023e+00  1.671e-01  0.000e+00  1.000e+01 ( 1.000e+00)
487        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
488        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
485   Normalization:  9.875e-01  2.804e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.97
Ra Dec: 220.242 6.163
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/700138/likelihoodResults_470016001_470275201_4FGL_J1440.9+0609_daily_bin890.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) = 6732.27406436
delta logL = 0.197271249974

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6732.26310508
delta logL = 0.208230528895

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.619       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6557       1.0000          .0000       10.000    
     3 'Normalizat'    .96442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0315       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+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=   6732.263     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      308 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.607        44.170        .12295E-03    .16274E-04
   2  Index         2.6568        1.6127        .56729E-02    .38942E-04
   3  Normalizat    .96433        .27159        .34158E-03    .66266E-04
   4  Prefactor     1.0315        .16710        .20565E-03   -.16725E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6069
  Index      = 2.65685
  Normalizat = 0.964333
  Prefactor  = 1.03153
 **********
 **   18 **HESSE 
 **********

 FCN=   6732.263     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.607        23.387        .49181E-05   -1.5056    
   2  Index         2.6568        .88485        .22692E-03   -.48774    
   3  Normalizat    .96433        .26848        .13663E-04   -.94235    
   4  Prefactor     1.0315        .16590        .41129E-04   -.91686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15289e-10
Minuit parameter uncertainties:
  1  23.4071
  2  0.890879
  3  0.268855
  4  0.165982
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700138': 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) = 6732.26310319
delta logL = 0.208232426128

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.061e+01  2.341e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.657e+00  8.909e-01  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  2.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  1.032e+00  1.660e-01  0.000e+00  1.000e+01 ( 1.000e+00)
487        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
488        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
485   Normalization:  9.643e-01  2.689e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 220.242 6.163
Photon Index (Free Index): 2.66 +/- 0.89
Photon Flux (Free Index): 4.56e-08 +/- 4.99e-08
Energy Flux (Free Index): 1.14e-05 +/- 1.17e-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/700138/cmap_HighResolution_470016001_470275201_4FGL_J1440.9+0609_daily_bin890.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.87e-03', comment='SUCCESS', energy_flux2='1.14e-05', dlogl='2.08e-01', photon_flux2='4.56e-08', job_status='DONE', time_completed='2021-09-10 05:13:55.918395', photon_index_error2='0.89', photon_index2='2.66', ts='0.97', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='1.17e-05', EG='0.99', time_epoch_completed='1631276035.92', return_code='0', job_id='700138', GAL2='1.03', EG2='0.96', return_code2='0', photon_flux_error2='4.99e-08', ts2='1.41', photon_index='2.12' WHERE bin_id='890' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:13:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 700138: <4FGL_J1440.9+0609_daily_bin890> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin890> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 05:01:22 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:01: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 05:01:24 2021
Terminated at Fri Sep 10 05:13:56 2021
Results reported at Fri Sep 10 05:13:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin890 220.242 6.1631 470016001 470275201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1440.9+0609 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   621.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             284.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            754 sec.

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

