/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 54 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 = 7365
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin25
RA = 220.242, Dec = 6.1631
tmin = 245808001, tmax = 246067201
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='695651', job_status='RUN', time_executed='2021-09-10 04:47:41.389151', time_epoch_executed='1631274461.39' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='25'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/695651

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/695651/ft1_4FGL_J1440.9+0609_daily_bin25.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/695651/ft2_4FGL_J1440.9+0609_daily_bin25.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/695651/ft1_4FGL_J1440.9+0609_daily_bin25.fits outfile=/scratch/kocevski/695651/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin25.fits ra=220.242 dec=6.1631 rad=12.0 tmin=245808001.0 tmax=246067201.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 1.46
user 1.26
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/695651/ft2_4FGL_J1440.9+0609_daily_bin25.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/695651/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin25.fits evtable="EVENTS" outfile="/scratch/kocevski/695651/ft1_filtered_4FGL_J1440.9+0609_daily_bin25.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/695651/ft1_filtered_4FGL_J1440.9+0609_daily_bin25.fits" evtable="EVENTS" scfile=/scratch/kocevski/695651/ft2_4FGL_J1440.9+0609_daily_bin25.fits sctable="SC_DATA" outfile=/scratch/kocevski/695651/ltcube_245808001_246067201_4FGL_J1440.9+0609_daily_bin25.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/695651/ft2_4FGL_J1440.9+0609_daily_bin25.fits
.....................!
real 12.52
user 12.17
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/695651/ft1_filtered_4FGL_J1440.9+0609_daily_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/695651/ft2_4FGL_J1440.9+0609_daily_bin25.fits sctable="SC_DATA" expcube=/scratch/kocevski/695651/ltcube_245808001_246067201_4FGL_J1440.9+0609_daily_bin25.fits outfile=/scratch/kocevski/695651/expmap_245808001_246067201_4FGL_J1440.9+0609_daily_bin25.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/695651/ltcube_245808001_246067201_4FGL_J1440.9+0609_daily_bin25.fits
.....................!
real 190.99
user 185.60
sys 5.01

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/695651/ft1_filtered_4FGL_J1440.9+0609_daily_bin25.fits scfile=/scratch/kocevski/695651/ft2_4FGL_J1440.9+0609_daily_bin25.fits outfile=/scratch/kocevski/695651/cmap_245808001_246067201_4FGL_J1440.9+0609_daily_bin25.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/695651/ft1_filtered_4FGL_J1440.9+0609_daily_bin25.fits scfile=/scratch/kocevski/695651/ft2_4FGL_J1440.9+0609_daily_bin25.fits outfile=/scratch/kocevski/695651/cmap_HighResolution_245808001_246067201_4FGL_J1440.9+0609_daily_bin25.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.739       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5217       1.0000         .10000E-03   10000.    
     3 'Prefactor '    33.312       1.0000         .10000E-03   10000.    
     4 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    16.701       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.6010       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16264E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.385       1.0000         .10000E-03   10000.    
    11 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.362       1.0000         .10000E-03   10000.    
    17 'norm      '    4.1260       1.0000         .10000E-03   10000.    
    18 'norm      '    1.2645       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10781E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    66.861       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1798       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98856       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=   12720.96     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2157 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.738        12.282        .89876E-06    .15449E-05
   2  Prefactor     3.5199        10.477        .57416E-07   -.13369E-03
   3  Prefactor     33.311        23.121       -.82851E-06    .18513E-04
   4  norm          .10000E-03    4.6832       -.79198E-07** at limit **
   5  Prefactor     .10000E-03    5.4566        .26793E-06** at limit **
   6  norm          16.699        15.014        .40687E-05    .10213E-04
   7  Prefactor     9.6026        6.1650        .16661E-06   -.73406E-05
   8  Prefactor     .10000E-03    4.2529       -.80836E-06** at limit **
   9  Prefactor     .10000E-03    13.241        .31468E-05** at limit **
  10  Prefactor     29.395        23.689       -.19292E-04    .20884E-04
  11  norm          .10001E-03    14.078       -.88456E-06** at limit **
  12  Prefactor     .10000E-03    9.4851       -.47995E-06** at limit **
  13  Prefactor     .10000E-03    4.5058        .12878E-05** at limit **
  14  Prefactor     .10000E-03    2.6971       -.23407E-07** at limit **
  15  Prefactor     .10000E-03    4.8398       -.77840E-06** at limit **
  16  Prefactor     24.355        25.123        .82172E-05    .39707E-05
  17  norm          4.1259        .31909       -.76722E-08    .80200E-03
  18  norm          1.2623        1.4051        .71625E-07   -.62322E-03
  19  norm          .10000E-03    1.2365        .14762E-07** at limit **
  20  norm          .10000E-03    2.0301        .14273E-06** at limit **
  21  Prefactor     66.780        41.027       -.14630E-04    .44079E-05
  22  Normalizat    1.1798        .17920        .21202E-05   -.43177E-04
  23  Prefactor     .98867        .10617        .66612E-06    .62505E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.7381
  Prefactor  = 3.51989
  Prefactor  = 33.3106
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 16.699
  Prefactor  = 9.60262
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.3953
  norm       = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.3551
  norm       = 4.12591
  norm       = 1.2623
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 66.7804
  Normalizat = 1.17975
  Prefactor  = 0.988666
 **********
 **   18 **HESSE 
 **********

 FCN=   12720.96     FROM HESSE     STATUS=OK           366 CALLS     2523 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.738        12.298        .85906E-04   -1.4775    
   2  Prefactor     3.5199        10.454        .21542E-03   -1.5333    
   3  Prefactor     33.311        23.178        .69428E-04   -1.4553    
   4  norm          .10000E-03    4.7126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.4650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          16.699        15.017        .98004E-04   -1.4890    
   7  Prefactor     9.6026        6.1603        .12933E-03   -1.5088    
   8  Prefactor     .10000E-03    4.4175        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.395        23.688        .73909E-04   -1.4623    
  11  norm          .10001E-03    14.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.5124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.5117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.6986        .18089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.8428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.355        25.121        .81156E-04   -1.4721    
  17  norm          4.1259        .31993        .16925E-04   -1.5302    
  18  norm          1.2623        1.3831        .13483E-03   -1.5483    
  19  norm          .10000E-03    1.2373        .12248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.0924        .31359E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     66.780        40.998        .49084E-04   -1.4072    
  22  Normalizat    1.1798        .21372        .34188E-03   -.87231    
  23  Prefactor     .98867        .12671        .22446E-03   -.93108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.2862e-10
Minuit parameter uncertainties:
  1  12.2997
  2  10.4592
  3  23.1838
  4  7.76064e-06
  5  6.52431e-06
  6  15.0207
  7  6.16073
  8  1.78138e-05
  9  1.11632e-05
  10  23.6958
  11  0.000778903
  12  2.69108e-05
  13  1.08686e-05
  14  6.55371e-06
  15  1.63985e-05
  16  25.1321
  17  0.319928
  18  1.38312
  19  1.58656e-07
  20  1.72283e-05
  21  41.0153
  22  0.213877
  23  0.126744
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.940e+01  2.370e+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.887e-01  1.267e-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.180e+00  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.60
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 3.11e-08 +/- 2.51e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.32e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12720.9562454
delta logL = 0.000871383725098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12720.9551415
delta logL = 0.00197525840485

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.857       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1623       1.0000          .0000       10.000    
     3 'Normalizat'    1.1780       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98890       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   12720.96     FROM MIGRAD    STATUS=FAILED        99 CALLS      283 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.823        39.841        .75905E-04    .92681E-04
   2  Index         2.1630        .79842        .87209E-02    .10527E-02
   3  Normalizat    1.1778        .21013        .34212E-03    .35709E-03
   4  Prefactor     .98928        .12649        .22440E-03   -.20508E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12720.96     FROM SIMPLEX   STATUS=UNCHANGED     70 CALLS      353 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.823        39.841        .19473E-03   -1.4653    
   2  Index         2.1630        .79842        .81833E-03   -.60335    
   3  Normalizat    1.1778        .21013        .23738E-03   -.87291    
   4  Prefactor     .98928        .12649        .19910E-03   -.93088    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12720.96     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      390 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.822        34.479        .15181E-04   -.35047E-04
   2  Index         2.1630        .69144        .17442E-02    .17286E-04
   3  Normalizat    1.1778        .20942        .13685E-04    .18609E-04
   4  Prefactor     .98928        .12640        .89761E-05   -.23811E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.8222
  Index      = 2.16297
  Normalizat = 1.17782
  Prefactor  = 0.98928
 **********
 **   18 **HESSE 
 **********

 FCN=   12720.96     FROM HESSE     STATUS=OK            23 CALLS      413 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.822        33.586        .30362E-05   -1.4653    
   2  Index         2.1630        .67327        .69768E-04   -.60335    
   3  Normalizat    1.1778        .20911        .27370E-05   -.87291    
   4  Prefactor     .98928        .12625        .17952E-05   -.93088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32767e-11
Minuit parameter uncertainties:
  1  33.6092
  2  0.67631
  3  0.209263
  4  0.126291
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/695651': 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) = 12720.9551277
delta logL = 0.00198907892991

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.782e+01  3.361e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.163e+00  6.763e-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.893e-01  1.263e-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.178e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.59
Ra Dec: 220.242 6.163
Photon Index (Free Index): 2.16 +/- 0.68
Photon Flux (Free Index): 3.27e-08 +/- 3.62e-08
Energy Flux (Free Index): 1.58e-05 +/- 1.53e-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/695651/cmap_HighResolution_245808001_246067201_4FGL_J1440.9+0609_daily_bin25.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.11e-08', energy_flux2='1.58e-05', photon_flux_error='2.51e-08', dlogl='1.99e-03', energy_flux='1.64e-05', photon_flux2='3.27e-08', job_status='DONE', time_completed='2021-09-10 05:00:11.805986', photon_index_error2='0.68', photon_index2='2.16', ts='4.60', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.53e-05', EG='1.18', time_epoch_completed='1631275211.81', return_code='0', job_id='695651', GAL2='0.99', EG2='1.18', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='3.62e-08', ts2='4.59', photon_index='2.12' WHERE bin_id='25' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:00:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 695651: <4FGL_J1440.9+0609_daily_bin25> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin25> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 04:46:36 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:46:38 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:46:38 2021
Terminated at Fri Sep 10 05:00:12 2021
Results reported at Fri Sep 10 05:00:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin25 220.242 6.1631 245808001 246067201 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 :                                   753.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            816 sec.

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

