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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin513
RA = 220.242, Dec = 6.1631
tmin = 372297601, tmax = 372556801
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='698518', job_status='RUN', time_executed='2021-09-10 04:59:28.187418', time_epoch_executed='1631275168.19' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='513'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698518

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698518/ft1_4FGL_J1440.9+0609_daily_bin513.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698518/ft2_4FGL_J1440.9+0609_daily_bin513.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698518/ft1_4FGL_J1440.9+0609_daily_bin513.fits outfile=/scratch/kocevski/698518/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin513.fits ra=220.242 dec=6.1631 rad=12.0 tmin=372297601.0 tmax=372556801.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.32
user 3.09
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/698518/ft2_4FGL_J1440.9+0609_daily_bin513.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/698518/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin513.fits evtable="EVENTS" outfile="/scratch/kocevski/698518/ft1_filtered_4FGL_J1440.9+0609_daily_bin513.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/698518/ft1_filtered_4FGL_J1440.9+0609_daily_bin513.fits" evtable="EVENTS" scfile=/scratch/kocevski/698518/ft2_4FGL_J1440.9+0609_daily_bin513.fits sctable="SC_DATA" outfile=/scratch/kocevski/698518/ltcube_372297601_372556801_4FGL_J1440.9+0609_daily_bin513.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/698518/ft2_4FGL_J1440.9+0609_daily_bin513.fits
.....................!
real 11.77
user 11.47
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698518/ft1_filtered_4FGL_J1440.9+0609_daily_bin513.fits evtable="EVENTS" scfile=/scratch/kocevski/698518/ft2_4FGL_J1440.9+0609_daily_bin513.fits sctable="SC_DATA" expcube=/scratch/kocevski/698518/ltcube_372297601_372556801_4FGL_J1440.9+0609_daily_bin513.fits outfile=/scratch/kocevski/698518/expmap_372297601_372556801_4FGL_J1440.9+0609_daily_bin513.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/698518/ltcube_372297601_372556801_4FGL_J1440.9+0609_daily_bin513.fits
.....................!
real 190.63
user 185.30
sys 4.97

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/698518/ft1_filtered_4FGL_J1440.9+0609_daily_bin513.fits scfile=/scratch/kocevski/698518/ft2_4FGL_J1440.9+0609_daily_bin513.fits outfile=/scratch/kocevski/698518/cmap_372297601_372556801_4FGL_J1440.9+0609_daily_bin513.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/698518/ft1_filtered_4FGL_J1440.9+0609_daily_bin513.fits scfile=/scratch/kocevski/698518/ft2_4FGL_J1440.9+0609_daily_bin513.fits outfile=/scratch/kocevski/698518/cmap_HighResolution_372297601_372556801_4FGL_J1440.9+0609_daily_bin513.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.59
user 0.37
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/698518/ft1_filtered_4FGL_J1440.9+0609_daily_bin513.fits', '/scratch/kocevski/698518/ft2_4FGL_J1440.9+0609_daily_bin513.fits', expMap='/scratch/kocevski/698518/expmap_372297601_372556801_4FGL_J1440.9+0609_daily_bin513.fits', expCube='/scratch/kocevski/698518/ltcube_372297601_372556801_4FGL_J1440.9+0609_daily_bin513.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/698518/Model_4FGL_J1440.9+0609_daily_bin513.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/698518/ft1_filtered_4FGL_J1440.9+0609_daily_bin513.fits
Spacecraft file(s): /scratch/kocevski/698518/ft2_4FGL_J1440.9+0609_daily_bin513.fits
Exposure map: /scratch/kocevski/698518/expmap_372297601_372556801_4FGL_J1440.9+0609_daily_bin513.fits
Exposure cube: /scratch/kocevski/698518/ltcube_372297601_372556801_4FGL_J1440.9+0609_daily_bin513.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/698518/Model_4FGL_J1440.9+0609_daily_bin513.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) = 6343.85862342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10960E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.187       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.423       1.0000         .10000E-03   10000.    
     4 'norm      '    6.7582       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    14.734       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10621E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19750E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    97.441       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.474       1.0000         .10000E-03   10000.    
    11 'norm      '    .15436E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1500       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .42600       1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .12292E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    92.528       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2970       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92819       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=   6343.825     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2605 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.7140        .27735E-06** at limit **
   2  Prefactor     25.190        22.172       -.10371E-06    .58952E-05
   3  Prefactor     28.414        38.653       -.62799E-06    .11585E-04
   4  norm          6.7584        6.6247       -.17066E-05   -.25306E-03
   5  Prefactor     .10000E-03    12.035        .34941E-06** at limit **
   6  norm          14.740        25.347       -.44226E-06    .87035E-06
   7  Prefactor     .10000E-03    5.2830       -.15797E-06** at limit **
   8  Prefactor     .10000E-03    4.5121       -.60441E-06** at limit **
   9  Prefactor     97.435        75.564       -.62843E-07    .25476E-05
  10  Prefactor     23.473        24.936       -.12683E-06   -.30254E-05
  11  norm          .10000E-03    13.667        .19363E-06** at limit **
  12  Prefactor     .10000E-03    23.774        .29493E-06** at limit **
  13  Prefactor     5.1587        27.048        .12320E-06    .42696E-05
  14  Prefactor     .10000E-03    10.248        .27517E-06** at limit **
  15  Prefactor     .10000E-03    14.423        .18415E-06** at limit **
  16  Prefactor     .10000E-03    15.310        .11606E-06** at limit **
  17  norm          .10000E-03    .42253E-01    .47196E-07** at limit **
  18  norm          .42505        2.2695        .42576E-06   -.18632E-03
  19  norm          .10000E-03    3.4698        .19013E-07** at limit **
  20  norm          .10000E-03    2.2686       -.10076E-05** at limit **
  21  Prefactor     92.426        59.040        .45421E-06   -.14677E-04
  22  Normalizat    1.2968        .22429       -.60899E-06    .16382E-03
  23  Prefactor     .92823        .13146        .12681E-05    .16520E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 25.1896
  Prefactor  = 28.4138
  norm       = 6.75837
  Prefactor  = 0.0001
  norm       = 14.7398
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 97.435
  Prefactor  = 23.4732
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.1587
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.425052
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 92.4264
  Normalizat = 1.2968
  Prefactor  = 0.928228
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.825     FROM HESSE     STATUS=OK           370 CALLS     2975 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.7600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.190        22.180        .79818E-04   -1.4704    
   3  Prefactor     28.414        38.750        .75147E-04   -1.4641    
   4  norm          6.7584        6.7489        .77172E-03   -1.5188    
   5  Prefactor     .10000E-03    12.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          14.740        25.349        .10435E-03   -1.4940    
   7  Prefactor     .10000E-03    5.3144        .17861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.531        .32121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     97.435        75.624        .40721E-04   -1.3731    
  10  Prefactor     23.473        24.903        .82675E-04   -1.4739    
  11  norm          .10000E-03    13.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    23.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1587        27.064        .17715E-03   -1.5254    
  14  Prefactor     .10000E-03    10.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .44754E-01    .31702E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .42505        4.0419        .21150E-02   -1.5578    
  19  norm          .10000E-03    3.4785        .14489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.9562        .21757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     92.426        58.828        .20889E-03   -1.3782    
  22  Normalizat    1.2968        .26263        .28898E-03   -.83662    
  23  Prefactor     .92823        .15385        .20280E-03   -.95162    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73483e-08
Minuit parameter uncertainties:
  1  8.59886e-06
  2  22.1871
  3  38.7844
  4  6.74967
  5  4.54917e-06
  6  25.3677
  7  1.17489e-06
  8  0.000323058
  9  75.6985
  10  24.9142
  11  2.18894e-06
  12  5.34938e-06
  13  23.6482
  14  1.74498e-06
  15  3.49942e-06
  16  8.55272e-06
  17  1.60995e-07
  18  2.6214
  19  2.6871e-06
  20  9.93673e-05
  21  58.8654
  22  0.262895
  23  0.153919
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.347e+01  2.491e+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:  9.282e-01  1.539e-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:  1.297e+00  2.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.82
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.49e-08 +/- 2.64e-08
Energy Flux (Fixed Index): 1.31e-05 +/- 1.39e-05

TS (Fixed Index): 1.82
Ra Dec: 220.242 6.163
Photon Flux Upper Limit: 9.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/698518/likelihoodResults_372297601_372556801_4FGL_J1440.9+0609_daily_bin513.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) = 6343.68505717
delta logL = 0.140251080285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6343.67948711
delta logL = 0.145821140793

Fit tolerance = 1e-08

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

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

 FCN=   6343.679     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      275 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.806        1085.1        .16982E-02   -.44687E-04
   2  Index         1.7258        5.7189        .25049        .48977E-04
   3  Normalizat    1.3069        .11053        .65111E-01    .75059E-05
   4  Prefactor     .92529        .48822E-01    .45327E-01    .66037E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.8058
  Index      = 1.7258
  Normalizat = 1.30694
  Prefactor  = 0.925292
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.679     FROM HESSE     STATUS=OK            31 CALLS      306 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.806        39.313        .67926E-04   -1.4527    
   2  Index         1.7258        .70058        .85656E-02   -.71397    
   3  Normalizat    1.3069        .25084        .28802E-03   -.83359    
   4  Prefactor     .92529        .15263        .20307E-03   -.95263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67681e-11
Minuit parameter uncertainties:
  1  39.3425
  2  0.704652
  3  0.251074
  4  0.1527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698518': 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) = 6343.67948709
delta logL = 0.145821152388

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  3.481e+01  3.934e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.726e+00  7.047e-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:  9.253e-01  1.527e-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:  1.307e+00  2.511e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.11
Ra Dec: 220.242 6.163
Photon Index (Free Index): 1.73 +/- 0.70
Photon Flux (Free Index): 1.51e-08 +/- 2.21e-08
Energy Flux (Free Index): 2.28e-05 +/- 3.66e-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/698518/cmap_HighResolution_372297601_372556801_4FGL_J1440.9+0609_daily_bin513.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.35e-03', comment='SUCCESS', photon_flux='2.49e-08', energy_flux2='2.28e-05', photon_flux_error='2.64e-08', dlogl='1.46e-01', energy_flux='1.31e-05', photon_flux2='1.51e-08', job_status='DONE', time_completed='2021-09-10 05:09:26.693662', photon_index_error2='0.70', photon_index2='1.73', ts='1.82', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='9.71e-08', energy_flux_error2='3.66e-05', EG='1.30', time_epoch_completed='1631275766.69', return_code='0', job_id='698518', GAL2='0.93', EG2='1.31', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='2.21e-08', ts2='2.11', photon_index='2.12' WHERE bin_id='513' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:09:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 698518: <4FGL_J1440.9+0609_daily_bin513> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin513> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 04:56:18 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:56:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 04:56:19 2021
Terminated at Fri Sep 10 05:09:27 2021
Results reported at Fri Sep 10 05:09:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin513 220.242 6.1631 372297601 372556801 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 :                                   596.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            789 sec.

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

