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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin517
RA = 220.242, Dec = 6.1631
tmin = 373334401, tmax = 373593601
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='698524', job_status='RUN', time_executed='2021-09-10 04:59:56.104005', time_epoch_executed='1631275196.1' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='517'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698524

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698524/ft1_4FGL_J1440.9+0609_daily_bin517.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698524/ft2_4FGL_J1440.9+0609_daily_bin517.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698524/ft1_4FGL_J1440.9+0609_daily_bin517.fits outfile=/scratch/kocevski/698524/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin517.fits ra=220.242 dec=6.1631 rad=12.0 tmin=373334401.0 tmax=373593601.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.48
user 3.28
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/698524/ft2_4FGL_J1440.9+0609_daily_bin517.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/698524/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin517.fits evtable="EVENTS" outfile="/scratch/kocevski/698524/ft1_filtered_4FGL_J1440.9+0609_daily_bin517.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.41
user 0.26
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/698524/ft1_filtered_4FGL_J1440.9+0609_daily_bin517.fits" evtable="EVENTS" scfile=/scratch/kocevski/698524/ft2_4FGL_J1440.9+0609_daily_bin517.fits sctable="SC_DATA" outfile=/scratch/kocevski/698524/ltcube_373334401_373593601_4FGL_J1440.9+0609_daily_bin517.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/698524/ft2_4FGL_J1440.9+0609_daily_bin517.fits
.....................!
real 9.04
user 8.75
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698524/ft1_filtered_4FGL_J1440.9+0609_daily_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/698524/ft2_4FGL_J1440.9+0609_daily_bin517.fits sctable="SC_DATA" expcube=/scratch/kocevski/698524/ltcube_373334401_373593601_4FGL_J1440.9+0609_daily_bin517.fits outfile=/scratch/kocevski/698524/expmap_373334401_373593601_4FGL_J1440.9+0609_daily_bin517.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/698524/ltcube_373334401_373593601_4FGL_J1440.9+0609_daily_bin517.fits
.....................!
real 145.62
user 141.54
sys 3.74

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/698524/ft1_filtered_4FGL_J1440.9+0609_daily_bin517.fits scfile=/scratch/kocevski/698524/ft2_4FGL_J1440.9+0609_daily_bin517.fits outfile=/scratch/kocevski/698524/cmap_373334401_373593601_4FGL_J1440.9+0609_daily_bin517.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.45
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/698524/ft1_filtered_4FGL_J1440.9+0609_daily_bin517.fits scfile=/scratch/kocevski/698524/ft2_4FGL_J1440.9+0609_daily_bin517.fits outfile=/scratch/kocevski/698524/cmap_HighResolution_373334401_373593601_4FGL_J1440.9+0609_daily_bin517.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.46
user 0.28
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22785       1.0000         .10000E-03   10000.    
     2 'Prefactor '    48.716       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.1561       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.671       1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0176       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.4855       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.046       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.715       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.443       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .38402       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    7.3500       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.7973       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2083       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97647       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=   6340.749     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2562 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .95957E-01    14.149        .10182E-05    .53959E-04
   2  Prefactor     48.761        30.440       -.34608E-05   -.16790E-04
   3  Prefactor     .10000E-03    7.5074       -.93274E-07** at limit **
   4  norm          3.1555        10.702        .27521E-05   -.16318E-04
   5  Prefactor     14.663        23.315        .19018E-06   -.58657E-05
   6  norm          .10000E-03    9.0796        .60393E-07** at limit **
   7  Prefactor     .10000E-03    7.2303        .17854E-06** at limit **
   8  Prefactor     4.0161        6.4489        .20328E-05   -.57092E-04
   9  Prefactor     .10000E-03    41.404        .58346E-06** at limit **
  10  Prefactor     .10000E-03    23.214        .20563E-06** at limit **
  11  norm          9.4812        16.515        .61905E-07   -.11407E-05
  12  Prefactor     .10000E-03    10.297       -.57533E-07** at limit **
  13  Prefactor     19.044        18.862        .18630E-06    .71311E-06
  14  Prefactor     14.713        14.079       -.75685E-07    .87482E-05
  15  Prefactor     15.436        28.717        .61703E-06    .19689E-06
  16  Prefactor     .10000E-03    29.165       -.59492E-06** at limit **
  17  norm          .38400        .18151        .89434E-08    .31971E-04
  18  norm          .10000E-03    1.1955       -.10460E-06** at limit **
  19  norm          .10000E-03    5.1813       -.52331E-07** at limit **
  20  norm          7.3495        5.2914        .21742E-07    .14129E-04
  21  Prefactor     6.8143        68.403        .18923E-05   -.32226E-05
  22  Normalizat    1.2085        .22883       -.16782E-05   -.98952E-04
  23  Prefactor     .97642        .13695        .72931E-06   -.14978E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0959569
  Prefactor  = 48.7605
  Prefactor  = 0.0001
  norm       = 3.15554
  Prefactor  = 14.6633
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.01608
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.48123
  Prefactor  = 0.0001
  Prefactor  = 19.0444
  Prefactor  = 14.7132
  Prefactor  = 15.4355
  Prefactor  = 0.0001
  norm       = 0.384003
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.34946
  Prefactor  = 6.81431
  Normalizat = 1.20849
  Prefactor  = 0.976417
 **********
 **   18 **HESSE 
 **********

 FCN=   6340.749     FROM HESSE     STATUS=OK           380 CALLS     2942 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .95957E-01    19.335        .83324E-01   -1.5646    
   2  Prefactor     48.761        31.106        .57453E-04   -1.4310    
   3  Prefactor     .10000E-03    7.5101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.1555        10.732        .11408E-02   -1.5353    
   5  Prefactor     14.663        23.404        .10457E-03   -1.4942    
   6  norm          .10000E-03    9.0841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.4346        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.0161        6.4561        .10060E-02   -1.5307    
   9  Prefactor     .10000E-03    41.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.4812        16.493        .13012E-03   -1.5092    
  12  Prefactor     .10000E-03    10.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.044        18.869        .91774E-04   -1.4835    
  14  Prefactor     14.713        14.068        .10441E-03   -1.4941    
  15  Prefactor     15.436        28.731        .10192E-03   -1.4922    
  16  Prefactor     .10000E-03    29.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .38400        .17884        .22222E-04   -1.5584    
  18  norm          .10000E-03    1.2178        .84861E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.3929        .35398E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          7.3495        5.2958        .14794E-03   -1.5166    
  21  Prefactor     6.8143        68.524        .15390E-03   -1.5186    
  22  Normalizat    1.2085        .27112        .29705E-03   -.86341    
  23  Prefactor     .97642        .16366        .20394E-03   -.93520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24655e-10
Minuit parameter uncertainties:
  1  2.72371
  2  31.1163
  3  4.31401e-07
  4  10.7386
  5  23.419
  6  4.32144e-06
  7  1.37286e-05
  8  6.45723
  9  3.04583e-05
  10  2.11069e-06
  11  16.5008
  12  4.75259e-06
  13  18.875
  14  14.0707
  15  28.7563
  16  4.14889e-06
  17  0.178837
  18  2.26699e-06
  19  3.16668e-06
  20  5.2961
  21  43.2819
  22  0.271438
  23  0.16374
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  2.111e-06  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.764e-01  1.637e-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.208e+00  2.714e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/698524/likelihoodResults_373334401_373593601_4FGL_J1440.9+0609_daily_bin517.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): 102
logL (Free Index) = 6340.74926279
delta logL = -0.000205166404157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6340.74905773
delta logL = -1.0722578736e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10413E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2637       1.0000          .0000       10.000    
     3 'Normalizat'    1.2085       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97642       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=   6340.749     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      231 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7076        .90712E-02** at limit **
   2  Index         2.2606        5.6628        .50000        .11601E-05
   3  Normalizat    1.2085        .27649E-02    .67144E-01   -.71062E-05
   4  Prefactor     .97642        .17358E-02    .45972E-01   -.12224E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.26059
  Normalizat = 1.20849
  Prefactor  = 0.976417
 **********
 **   18 **HESSE 
 **********

 FCN=   6340.749     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      264 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    63.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2606        8.1569        .50000       -.57983    
   3  Normalizat    1.2085        .92399E-02    .29706E-03   -.86341    
   4  Prefactor     .97642        .58055E-02    .20394E-03   -.93520    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.05449e-10
Minuit parameter uncertainties:
  1  3.67737e-05
  2  92.8901
  3  0.00923989
  4  0.00580549
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698524': 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): 102
logL (Free Index) = 6340.74905764
delta logL = -1.61899151863e-08

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  3.677e-05  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.261e+00  9.289e+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.764e-01  5.805e-03  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.208e+00  9.240e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.242 6.163

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/698524/cmap_HighResolution_373334401_373593601_4FGL_J1440.9+0609_daily_bin517.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.49e-03', job_status='DONE', photon_flux_upper_limit='7.25e-08', time_completed='2021-09-10 05:07:39.693112', job_id='698524', GAL2='0.98', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1631275659.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-1.62e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='517' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:07:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 698524: <4FGL_J1440.9+0609_daily_bin517> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin517> 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) <bullet0033>, 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:07:40 2021
Results reported at Fri Sep 10 05:07:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin517 220.242 6.1631 373334401 373593601 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 :                                   461.34 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             259.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            682 sec.

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

