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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin536
RA = 220.242, Dec = 6.1631
tmin = 378259201, tmax = 378518401
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='698556', job_status='RUN', time_executed='2021-09-10 04:58:35.944472', time_epoch_executed='1631275115.94' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='536'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698556

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698556/ft1_4FGL_J1440.9+0609_daily_bin536.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698556/ft2_4FGL_J1440.9+0609_daily_bin536.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698556/ft1_4FGL_J1440.9+0609_daily_bin536.fits outfile=/scratch/kocevski/698556/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin536.fits ra=220.242 dec=6.1631 rad=12.0 tmin=378259201.0 tmax=378518401.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 4.45
user 4.19
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/698556/ft2_4FGL_J1440.9+0609_daily_bin536.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/698556/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin536.fits evtable="EVENTS" outfile="/scratch/kocevski/698556/ft1_filtered_4FGL_J1440.9+0609_daily_bin536.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.52
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/698556/ft1_filtered_4FGL_J1440.9+0609_daily_bin536.fits" evtable="EVENTS" scfile=/scratch/kocevski/698556/ft2_4FGL_J1440.9+0609_daily_bin536.fits sctable="SC_DATA" outfile=/scratch/kocevski/698556/ltcube_378259201_378518401_4FGL_J1440.9+0609_daily_bin536.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/698556/ft2_4FGL_J1440.9+0609_daily_bin536.fits
.....................!
real 11.65
user 11.30
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698556/ft1_filtered_4FGL_J1440.9+0609_daily_bin536.fits evtable="EVENTS" scfile=/scratch/kocevski/698556/ft2_4FGL_J1440.9+0609_daily_bin536.fits sctable="SC_DATA" expcube=/scratch/kocevski/698556/ltcube_378259201_378518401_4FGL_J1440.9+0609_daily_bin536.fits outfile=/scratch/kocevski/698556/expmap_378259201_378518401_4FGL_J1440.9+0609_daily_bin536.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/698556/ltcube_378259201_378518401_4FGL_J1440.9+0609_daily_bin536.fits
.....................!
real 190.46
user 184.84
sys 5.27

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/698556/ft1_filtered_4FGL_J1440.9+0609_daily_bin536.fits scfile=/scratch/kocevski/698556/ft2_4FGL_J1440.9+0609_daily_bin536.fits outfile=/scratch/kocevski/698556/cmap_378259201_378518401_4FGL_J1440.9+0609_daily_bin536.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.59
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/698556/ft1_filtered_4FGL_J1440.9+0609_daily_bin536.fits scfile=/scratch/kocevski/698556/ft2_4FGL_J1440.9+0609_daily_bin536.fits outfile=/scratch/kocevski/698556/cmap_HighResolution_378259201_378518401_4FGL_J1440.9+0609_daily_bin536.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.56
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.999       1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.819       1.0000         .10000E-03   10000.    
     4 'norm      '    9.5395       1.0000         .10000E-03   10000.    
     5 'Prefactor '    43.038       1.0000         .10000E-03   10000.    
     6 'norm      '    1.5795       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.587       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .31208       1.0000         .10000E-03   10000.    
    11 'norm      '    27.854       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.236       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.5970       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .35198E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.324       1.0000         .10000E-03   10000.    
    17 'norm      '    .67158       1.0000         .10000E-03   10000.    
    18 'norm      '    .51618       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3553       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76595       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=   6520.309     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2616 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0208       -.15882E-07** at limit **
   2  Prefactor     13.002        12.581        .10398E-06    .16530E-04
   3  Prefactor     26.830        31.063        .89293E-06    .66643E-04
   4  norm          9.5396        8.9842       -.53403E-07   -.20261E-04
   5  Prefactor     43.058        30.854        .10006E-05    .17394E-03
   6  norm          1.5841        53.829        .36645E-05    .13041E-04
   7  Prefactor     .10000E-03    2.9168        .10320E-06** at limit **
   8  Prefactor     .10000E-03    2.9012       -.28119E-07** at limit **
   9  Prefactor     35.564        52.746        .67674E-06    .70351E-05
  10  Prefactor     .60185        49.247       -.92515E-06   -.30647E-03
  11  norm          27.792        22.668        .32897E-05    .16741E-03
  12  Prefactor     .10000E-03    18.112        .19685E-06** at limit **
  13  Prefactor     22.242        19.642        .39240E-06    .37139E-05
  14  Prefactor     6.5951        15.550        .38055E-06    .39683E-04
  15  Prefactor     .10000E-03    66.341        .45815E-05** at limit **
  16  Prefactor     25.177        48.085       -.18131E-06    .62540E-04
  17  norm          .67167        .20015        .18883E-07   -.14680E-03
  18  norm          .51614        1.7625        .47852E-06   -.32452E-03
  19  norm          .10000E-03    2.6507       -.57220E-07** at limit **
  20  norm          .10000E-03    2.2379       -.15699E-06** at limit **
  21  Prefactor     .10000E-03    9.4087       -.53190E-07** at limit **
  22  Normalizat    1.3546        .24112       -.34682E-05    .14729E-03
  23  Prefactor     .76626        .13442        .25011E-05   -.17040E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.0023
  Prefactor  = 26.83
  norm       = 9.53964
  Prefactor  = 43.0575
  norm       = 1.58407
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.5641
  Prefactor  = 0.601853
  norm       = 27.7917
  Prefactor  = 0.0001
  Prefactor  = 22.2418
  Prefactor  = 6.59507
  Prefactor  = 0.0001
  Prefactor  = 25.1767
  norm       = 0.671667
  norm       = 0.516137
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.3546
  Prefactor  = 0.766262
 **********
 **   18 **HESSE 
 **********

 FCN=   6520.309     FROM HESSE     STATUS=OK           378 CALLS     2994 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0219        .13706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.002        12.581        .11110E-03   -1.4987    
   3  Prefactor     26.830        30.988        .77356E-04   -1.4672    
   4  norm          9.5396        8.9866        .12975E-03   -1.5090    
   5  Prefactor     43.058        30.778        .61108E-04   -1.4395    
   6  norm          1.5841        53.227        .33797E-03   -1.5456    
   7  Prefactor     .10000E-03    2.9299        .13462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.9346        .13428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.564        52.797        .67179E-04   -1.4515    
  10  Prefactor     .60185        79.315        .12892       -1.5553    
  11  norm          27.792        30.206        .75909E-04   -1.4653    
  12  Prefactor     .10000E-03    18.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.242        19.651        .84943E-04   -1.4764    
  14  Prefactor     6.5951        15.478        .15624E-03   -1.5194    
  15  Prefactor     .10000E-03    67.300        .42642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.177        48.043        .79603E-04   -1.4704    
  17  norm          .67167        .19999        .18828E-04   -1.5544    
  18  norm          .51614        2.2751        .18036E-02   -1.5564    
  19  norm          .10000E-03    2.6571        .12839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.2894        .11786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.4114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3546        .26217        .27487E-03   -.81951    
  23  Prefactor     .76626        .14801        .21331E-03   -1.0098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94994e-08
Minuit parameter uncertainties:
  1  6.41638e-08
  2  12.5833
  3  31.0063
  4  8.98784
  5  30.7889
  6  18.382
  7  1.10535e-06
  8  1.98191e-06
  9  52.866
  10  13.8358
  11  30.223
  12  7.03993e-07
  13  19.6571
  14  15.4876
  15  0.000209332
  16  48.1166
  17  0.199988
  18  2.16719
  19  2.01191e-06
  20  8.04534e-06
  21  2.30348e-06
  22  0.262432
  23  0.148085
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  6.019e-01  1.384e+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:  7.663e-01  1.481e-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.355e+00  2.624e-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: 9.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/698556/likelihoodResults_378259201_378518401_4FGL_J1440.9+0609_daily_bin536.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) = 6520.30583251
delta logL = 0.00307708640321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6520.29295837
delta logL = 0.0159512244327

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66923       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1850       1.0000          .0000       10.000    
     3 'Normalizat'    1.3418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77011       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=   6520.293     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      252 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60109        15.877        .37538E-01    .10531E-02
   2  Index         3.2189        1.2166        .21714        .41343E-04
   3  Normalizat    1.3419        .14611E-01    .62383E-01    .90912E-04
   4  Prefactor     .77013        .88474E-02    .43327E-01    .77639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.601089
  Index      = 3.21889
  Normalizat = 1.34185
  Prefactor  = 0.770132
 **********
 **   18 **HESSE 
 **********

 FCN=   6520.293     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      287 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60109        726.72        .23021E-02   -1.5553    
   2  Index         3.2189        7.8831        .76075E-02   -.36422    
   3  Normalizat    1.3419        .12498        .27592E-03   -.82326    
   4  Prefactor     .77013        .75521E-01    .21279E-03   -1.0084    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.4686e-09
Minuit parameter uncertainties:
  1  42.3222
  2  23.3443
  3  0.125007
  4  0.0755306
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698556': 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) = 6520.29292125
delta logL = 0.0159883505175

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  6.011e-01  4.232e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  3.219e+00  2.334e+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:  7.701e-01  7.553e-02  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.342e+00  1.250e-01  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/698556/cmap_HighResolution_378259201_378518401_4FGL_J1440.9+0609_daily_bin536.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.31e-03', job_status='DONE', photon_flux_upper_limit='9.65e-08', time_completed='2021-09-10 05:08:52.168847', job_id='698556', GAL2='0.77', fit_tolerance='1e-08', EG2='1.34', EG='1.35', time_epoch_completed='1631275732.17', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.60e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='536' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:08:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 698556: <4FGL_J1440.9+0609_daily_bin536> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin536 220.242 6.1631 378259201 378518401 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 :                                   613.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            752 sec.

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

