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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin784
RA = 220.242, Dec = 6.1631
tmin = 442540801, tmax = 442800001
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='699972', job_status='RUN', time_executed='2021-09-10 05:01:27.340944', time_epoch_executed='1631275287.34' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='784'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/699972

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/699972/ft1_4FGL_J1440.9+0609_daily_bin784.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/699972/ft2_4FGL_J1440.9+0609_daily_bin784.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/699972/ft1_4FGL_J1440.9+0609_daily_bin784.fits outfile=/scratch/kocevski/699972/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin784.fits ra=220.242 dec=6.1631 rad=12.0 tmin=442540801.0 tmax=442800001.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.35
user 3.11
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/699972/ft2_4FGL_J1440.9+0609_daily_bin784.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/699972/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin784.fits evtable="EVENTS" outfile="/scratch/kocevski/699972/ft1_filtered_4FGL_J1440.9+0609_daily_bin784.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/699972/ft1_filtered_4FGL_J1440.9+0609_daily_bin784.fits" evtable="EVENTS" scfile=/scratch/kocevski/699972/ft2_4FGL_J1440.9+0609_daily_bin784.fits sctable="SC_DATA" outfile=/scratch/kocevski/699972/ltcube_442540801_442800001_4FGL_J1440.9+0609_daily_bin784.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/699972/ft2_4FGL_J1440.9+0609_daily_bin784.fits
.....................!
real 11.88
user 11.51
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/699972/ft1_filtered_4FGL_J1440.9+0609_daily_bin784.fits evtable="EVENTS" scfile=/scratch/kocevski/699972/ft2_4FGL_J1440.9+0609_daily_bin784.fits sctable="SC_DATA" expcube=/scratch/kocevski/699972/ltcube_442540801_442800001_4FGL_J1440.9+0609_daily_bin784.fits outfile=/scratch/kocevski/699972/expmap_442540801_442800001_4FGL_J1440.9+0609_daily_bin784.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/699972/ltcube_442540801_442800001_4FGL_J1440.9+0609_daily_bin784.fits
.....................!
real 192.18
user 186.76
sys 5.06

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/699972/ft1_filtered_4FGL_J1440.9+0609_daily_bin784.fits scfile=/scratch/kocevski/699972/ft2_4FGL_J1440.9+0609_daily_bin784.fits outfile=/scratch/kocevski/699972/cmap_442540801_442800001_4FGL_J1440.9+0609_daily_bin784.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/699972/ft1_filtered_4FGL_J1440.9+0609_daily_bin784.fits scfile=/scratch/kocevski/699972/ft2_4FGL_J1440.9+0609_daily_bin784.fits outfile=/scratch/kocevski/699972/cmap_HighResolution_442540801_442800001_4FGL_J1440.9+0609_daily_bin784.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97392       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.6945       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14836E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    2.5493       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6837       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    60.705       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.910       1.0000         .10000E-03   10000.    
    11 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.040       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3877       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.876       1.0000         .10000E-03   10000.    
    17 'norm      '    .57821       1.0000         .10000E-03   10000.    
    18 'norm      '    .63251       1.0000         .10000E-03   10000.    
    19 'norm      '    3.9346       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2092       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89570       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=   6463.285     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2623 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97381        10.665        .17186E-05   -.82567E-04
   2  Prefactor     6.6931        21.768       -.78308E-06   -.58665E-04
   3  Prefactor     .14789E-03    77.734       -.90269E-05** at limit **
   4  norm          2.5495        8.7954        .25785E-06    .29368E-04
   5  Prefactor     .10000E-03    8.8494        .23824E-07** at limit **
   6  norm          .10000E-03    30.835       -.30092E-06** at limit **
   7  Prefactor     1.6893        6.2484        .40383E-06    .29533E-03
   8  Prefactor     .10000E-03    2.9777        .26601E-07** at limit **
   9  Prefactor     60.708        61.232        .30404E-06    .22502E-04
  10  Prefactor     15.918        19.499        .32166E-05    .42526E-03
  11  norm          .10000E-03    10.689       -.13961E-05** at limit **
  12  Prefactor     15.039        16.723       -.80747E-07   -.82262E-05
  13  Prefactor     .10000E-03    9.3020       -.15849E-06** at limit **
  14  Prefactor     3.3890        11.014        .93660E-06    .80374E-04
  15  Prefactor     .10000E-03    6.5621        .39269E-07** at limit **
  16  Prefactor     14.871        26.157       -.26741E-05   -.17939E-03
  17  norm          .57822        .19267        .16470E-08    .41297E-03
  18  norm          .63243        2.0948        .20291E-06    .14300E-03
  19  norm          3.9350        6.3419        .13358E-05    .68351E-03
  20  norm          .10000E-03    1.7654        .41741E-07** at limit **
  21  Prefactor     .10000E-03    42.643        .28426E-06** at limit **
  22  Normalizat    1.2092        .20270        .11037E-06    .24959E-03
  23  Prefactor     .89567        .12157       -.36206E-06    .29833E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.973815
  Prefactor  = 6.69309
  Prefactor  = 0.000147892
  norm       = 2.54951
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.68929
  Prefactor  = 0.0001
  Prefactor  = 60.7083
  Prefactor  = 15.9175
  norm       = 0.000100002
  Prefactor  = 15.039
  Prefactor  = 0.0001
  Prefactor  = 3.38899
  Prefactor  = 0.0001
  Prefactor  = 14.871
  norm       = 0.578222
  norm       = 0.632427
  norm       = 3.93497
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2092
  Prefactor  = 0.895667
 **********
 **   18 **HESSE 
 **********

 FCN=   6463.285     FROM HESSE     STATUS=OK           376 CALLS     2999 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97381        27.920        .46671E-02   -1.5511    
   2  Prefactor     6.6931        21.530        .15509E-03   -1.5190    
   3  Prefactor     .14789E-03    35.752        .11658       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.5495        8.7863        .25574E-03   -1.5389    
   5  Prefactor     .10000E-03    8.8583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    31.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6893        6.2091        .32458E-03   -1.5448    
   8  Prefactor     .10000E-03    2.9999        .13536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.708        61.301        .51497E-04   -1.4148    
  10  Prefactor     15.918        19.649        .10041E-03   -1.4910    
  11  norm          .10000E-03    10.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.039        16.723        .10328E-03   -1.4932    
  13  Prefactor     .10000E-03    9.3255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3890        11.001        .21983E-03   -1.5340    
  15  Prefactor     .10000E-03    6.5646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.871        26.175        .10384E-03   -1.4937    
  17  norm          .57822        .19259        .19459E-04   -1.5556    
  18  norm          .63243        2.1002        .19766E-03   -1.5549    
  19  norm          3.9350        6.3948        .10169E-02   -1.5311    
  20  norm          .10000E-03    1.7840        .10426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    42.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2092        .23844        .27838E-03   -.86319    
  23  Prefactor     .89567        .14292        .19712E-03   -.96293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95864e-08
Minuit parameter uncertainties:
  1  10.4335
  2  21.5547
  3  0.0828081
  4  8.79071
  5  1.0312e-06
  6  5.78703e-05
  7  6.21144
  8  4.89377e-06
  9  61.3652
  10  19.6565
  11  0.000290865
  12  16.7283
  13  1.91075e-05
  14  11.0077
  15  7.13373e-06
  16  26.1947
  17  0.192586
  18  2.10046
  19  6.39595
  20  2.10719e-06
  21  6.06466e-05
  22  0.238654
  23  0.142978
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.592e+01  1.966e+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:  8.957e-01  1.430e-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.209e+00  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.17
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 1.69e-08 +/- 2.08e-08
Energy Flux (Fixed Index): 8.86e-06 +/- 1.09e-05

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

Saving results to:
/scratch/kocevski/699972/likelihoodResults_442540801_442800001_4FGL_J1440.9+0609_daily_bin784.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6463.27489881
delta logL = 0.0104804315688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6463.26196506
delta logL = 0.0234141829687

Fit tolerance = 1e-08

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

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

 FCN=   6463.262     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      248 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.032        36.432        .87354E-04    .57446E-04
   2  Index         1.9456        .82272        .75290E-02    .35329E-04
   3  Normalizat    1.2117        .22638        .27812E-03    .61570E-03
   4  Prefactor     .89468        .14101        .19721E-03    .95997E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.0316
  Index      = 1.94563
  Normalizat = 1.21175
  Prefactor  = 0.894679
 **********
 **   18 **HESSE 
 **********

 FCN=   6463.262     FROM HESSE     STATUS=OK            25 CALLS      273 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.032        34.245        .17471E-04   -1.4790    
   2  Index         1.9456        .77403        .30116E-03   -.65716    
   3  Normalizat    1.2117        .22649        .55625E-04   -.86241    
   4  Prefactor     .89468        .14109        .39443E-04   -.96327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.87085e-10
Minuit parameter uncertainties:
  1  34.2771
  2  0.779048
  3  0.226676
  4  0.141152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/699972': 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) = 6463.2619649
delta logL = 0.023414344786

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.103e+01  3.428e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.946e+00  7.790e-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:  8.947e-01  1.412e-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.212e+00  2.267e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.21
Ra Dec: 220.242 6.163
Photon Index (Free Index): 1.95 +/- 0.78
Photon Flux (Free Index): 1.47e-08 +/- 2.08e-08
Energy Flux (Free Index): 1.17e-05 +/- 2.11e-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/699972/cmap_HighResolution_442540801_442800001_4FGL_J1440.9+0609_daily_bin784.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', comment='SUCCESS', photon_flux='1.69e-08', energy_flux2='1.17e-05', photon_flux_error='2.08e-08', dlogl='2.34e-02', energy_flux='8.86e-06', photon_flux2='1.47e-08', job_status='DONE', time_completed='2021-09-10 05:11:39.997620', photon_index_error2='0.78', photon_index2='1.95', ts='1.17', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='7.70e-08', energy_flux_error2='2.11e-05', EG='1.21', time_epoch_completed='1631275900.0', return_code='0', job_id='699972', GAL2='0.89', EG2='1.21', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='2.08e-08', ts2='1.21', photon_index='2.12' WHERE bin_id='784' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:11:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 699972: <4FGL_J1440.9+0609_daily_bin784> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin784> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 05:01:08 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:01:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:01:10 2021
Terminated at Fri Sep 10 05:11:40 2021
Results reported at Fri Sep 10 05:11:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin784 220.242 6.1631 442540801 442800001 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 :                                   612.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             383.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            632 sec.

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

