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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin654
RA = 220.242, Dec = 6.1631
tmin = 408844801, tmax = 409104001
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='698736', job_status='RUN', time_executed='2021-09-10 04:58:56.829507', time_epoch_executed='1631275136.83' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='654'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698736

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698736/ft1_4FGL_J1440.9+0609_daily_bin654.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698736/ft2_4FGL_J1440.9+0609_daily_bin654.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698736/ft1_4FGL_J1440.9+0609_daily_bin654.fits outfile=/scratch/kocevski/698736/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin654.fits ra=220.242 dec=6.1631 rad=12.0 tmin=408844801.0 tmax=409104001.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.35
user 4.11
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698736/ft1_filtered_4FGL_J1440.9+0609_daily_bin654.fits evtable="EVENTS" scfile=/scratch/kocevski/698736/ft2_4FGL_J1440.9+0609_daily_bin654.fits sctable="SC_DATA" expcube=/scratch/kocevski/698736/ltcube_408844801_409104001_4FGL_J1440.9+0609_daily_bin654.fits outfile=/scratch/kocevski/698736/expmap_408844801_409104001_4FGL_J1440.9+0609_daily_bin654.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/698736/ltcube_408844801_409104001_4FGL_J1440.9+0609_daily_bin654.fits
.....................!
real 190.26
user 184.81
sys 5.10

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/698736/ft1_filtered_4FGL_J1440.9+0609_daily_bin654.fits scfile=/scratch/kocevski/698736/ft2_4FGL_J1440.9+0609_daily_bin654.fits outfile=/scratch/kocevski/698736/cmap_408844801_409104001_4FGL_J1440.9+0609_daily_bin654.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=220.242 yref=6.1631 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/698736/ft1_filtered_4FGL_J1440.9+0609_daily_bin654.fits scfile=/scratch/kocevski/698736/ft2_4FGL_J1440.9+0609_daily_bin654.fits outfile=/scratch/kocevski/698736/cmap_HighResolution_408844801_409104001_4FGL_J1440.9+0609_daily_bin654.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=220.242 yref=6.1631 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84667       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.1934       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.115       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.945       1.0000         .10000E-03   10000.    
    10 'Prefactor '    43.732       1.0000         .10000E-03   10000.    
    11 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .41881E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10109E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.8211       1.0000         .10000E-03   10000.    
    20 'norm      '    1.1091       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0250       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2500       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=   6334.748     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2563 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81757        11.655        .16525E-05   -.24279E-03
   2  Prefactor     6.1926        21.877       -.35029E-06   -.49856E-04
   3  Prefactor     .10000E-03    12.789        .15544E-07** at limit **
   4  norm          .10000E-03    4.5678       -.43824E-08** at limit **
   5  Prefactor     39.109        35.803        .43243E-06   -.22380E-04
   6  norm          .10000E-03    8.0159        .13165E-06** at limit **
   7  Prefactor     .10000E-03    3.8356        .12455E-07** at limit **
   8  Prefactor     .10000E-03    3.6285        .77661E-08** at limit **
   9  Prefactor     17.881        63.242        .94647E-05   -.19776E-05
  10  Prefactor     43.731        32.779        .33754E-08   -.65329E-05
  11  norm          .10000E-03    9.0625       -.25143E-06** at limit **
  12  Prefactor     .10000E-03    32.284       -.41572E-07** at limit **
  13  Prefactor     .10000E-03    9.0503       -.17076E-06** at limit **
  14  Prefactor     .10000E-03    11.966        .23145E-06** at limit **
  15  Prefactor     .10000E-03    31.546       -.62975E-06** at limit **
  16  Prefactor     .10000E-03    31.487       -.74175E-06** at limit **
  17  norm          .41882E-01    .12759        .46771E-07    .14495E-03
  18  norm          .10000E-03    1.2504        .71548E-07** at limit **
  19  norm          2.8212        6.7128        .18913E-05    .86517E-04
  20  norm          1.1097        2.8163       -.45516E-06   -.44039E-03
  21  Prefactor     .10000E-03    34.042        .15161E-05** at limit **
  22  Normalizat    1.0251        .26083        .26301E-06   -.77662E-04
  23  Prefactor     1.2499        .14977       -.61979E-06   -.91788E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.817574
  Prefactor  = 6.19262
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 39.109
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.8813
  Prefactor  = 43.7306
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0418824
  norm       = 0.0001
  norm       = 2.82119
  norm       = 1.10971
  Prefactor  = 0.0001
  Normalizat = 1.02515
  Prefactor  = 1.2499
 **********
 **   18 **HESSE 
 **********

 FCN=   6334.748     FROM HESSE     STATUS=OK           368 CALLS     2931 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81757        40.923        .47170E-02   -1.5527    
   2  Prefactor     6.1926        21.637        .16131E-03   -1.5210    
   3  Prefactor     .10000E-03    12.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.5822        .16613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.109        35.946        .64088E-04   -1.4456    
   6  norm          .10000E-03    8.0160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.8424        .15223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.6329        .14807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.881        62.224        .94547E-04   -1.4862    
  10  Prefactor     43.731        32.793        .60624E-04   -1.4384    
  11  norm          .10000E-03    9.0698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    32.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.0559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    31.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    31.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .41882E-01    .12447        .47729E-04   -1.5667    
  18  norm          .10000E-03    12.645        .16743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.8212        6.7451        .12108E-02   -1.5372    
  20  norm          1.1097        2.3768        .21096E-02   -1.5497    
  21  Prefactor     .10000E-03    34.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0251        .30358        .35070E-03   -.92193    
  23  Prefactor     1.2499        .17487        .19236E-03   -.84809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.64287e-10
Minuit parameter uncertainties:
  1  11.5762
  2  21.6646
  3  1.2215e-06
  4  9.17992e-07
  5  35.9657
  6  4.35207e-06
  7  9.54907e-07
  8  7.20757e-07
  9  62.4508
  10  32.8064
  11  7.41571e-06
  12  6.20008e-06
  13  1.05402e-06
  14  2.96064e-06
  15  4.32323e-06
  16  5.53208e-09
  17  0.124471
  18  5.88363e-06
  19  6.74695
  20  2.37703
  21  2.04856e-05
  22  0.304092
  23  0.174953
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  1.250e+00  1.750e-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.025e+00  3.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.65
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 4.63e-08 +/- 3.47e-08
Energy Flux (Fixed Index): 2.43e-05 +/- 1.83e-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) = 6334.53177734
delta logL = 0.215832224411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6334.53075372
delta logL = 0.216855846477

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.912       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7103       1.0000          .0000       10.000    
     3 'Normalizat'    1.0503       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2421       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=   6334.531     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      278 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.912        1232.4        .12749E-02   -.23301E-04
   2  Index         1.7103        5.7018        .21826        .97706E-05
   3  Normalizat    1.0502        .17989        .78379E-01    .17610E-04
   4  Prefactor     1.2421        .65323E-01    .33705E-01   -.23319E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.9122
  Index      = 1.71033
  Normalizat = 1.05024
  Prefactor  = 1.24207
 **********
 **   18 **HESSE 
 **********

 FCN=   6334.531     FROM HESSE     STATUS=OK            31 CALLS      309 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.912        50.857        .50996E-04   -1.4133    
   2  Index         1.7103        .58731        .77819E-02   -.71807    
   3  Normalizat    1.0502        .28754        .34694E-03   -.91366    
   4  Prefactor     1.2421        .17259        .19287E-03   -.85046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.60513e-12
Minuit parameter uncertainties:
  1  50.8926
  2  0.589716
  3  0.287964
  4  0.17267
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698736': 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) = 6334.53075372
delta logL = 0.216855847977

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
486    Prefactor:  1.242e+00  1.727e-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.050e+00  2.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.09
Ra Dec: 220.242 6.163
Photon Index (Free Index): 1.71 +/- 0.59
Photon Flux (Free Index): 2.61e-08 +/- 3.06e-08
Energy Flux (Free Index): 4.13e-05 +/- 5.18e-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/698736/cmap_HighResolution_408844801_409104001_4FGL_J1440.9+0609_daily_bin654.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.63e-08', energy_flux2='4.13e-05', photon_flux_error='3.47e-08', dlogl='2.17e-01', energy_flux='2.43e-05', photon_flux2='2.61e-08', job_status='DONE', time_completed='2021-09-10 05:07:58.143125', photon_index_error2='0.59', photon_index2='1.71', ts='4.65', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', energy_flux_error2='5.18e-05', EG='1.03', time_epoch_completed='1631275678.14', return_code='0', job_id='698736', GAL2='1.24', EG2='1.05', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='3.06e-08', ts2='5.09', photon_index='2.12' WHERE bin_id='654' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:07:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 698736: <4FGL_J1440.9+0609_daily_bin654> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin654 220.242 6.1631 408844801 409104001 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 :                                   540.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             237.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   683 sec.
    Turnaround time :                            684 sec.

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

