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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin1434
RA = 220.242, Dec = 6.1631
tmin = 611020801, tmax = 611280001
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='703043', job_status='RUN', time_executed='2021-09-10 05:11:11.181967', time_epoch_executed='1631275871.18' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='1434'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/703043

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/703043/ft1_4FGL_J1440.9+0609_daily_bin1434.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/703043/ft2_4FGL_J1440.9+0609_daily_bin1434.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/703043/ft1_4FGL_J1440.9+0609_daily_bin1434.fits outfile=/scratch/kocevski/703043/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin1434.fits ra=220.242 dec=6.1631 rad=12.0 tmin=611020801.0 tmax=611280001.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.52
user 3.30
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/703043/ft2_4FGL_J1440.9+0609_daily_bin1434.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/703043/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin1434.fits evtable="EVENTS" outfile="/scratch/kocevski/703043/ft1_filtered_4FGL_J1440.9+0609_daily_bin1434.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/703043/ft1_filtered_4FGL_J1440.9+0609_daily_bin1434.fits" evtable="EVENTS" scfile=/scratch/kocevski/703043/ft2_4FGL_J1440.9+0609_daily_bin1434.fits sctable="SC_DATA" outfile=/scratch/kocevski/703043/ltcube_611020801_611280001_4FGL_J1440.9+0609_daily_bin1434.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/703043/ft2_4FGL_J1440.9+0609_daily_bin1434.fits
.....................!
real 11.85
user 11.44
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/703043/ft1_filtered_4FGL_J1440.9+0609_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/703043/ft2_4FGL_J1440.9+0609_daily_bin1434.fits sctable="SC_DATA" expcube=/scratch/kocevski/703043/ltcube_611020801_611280001_4FGL_J1440.9+0609_daily_bin1434.fits outfile=/scratch/kocevski/703043/expmap_611020801_611280001_4FGL_J1440.9+0609_daily_bin1434.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/703043/ltcube_611020801_611280001_4FGL_J1440.9+0609_daily_bin1434.fits
.....................!
real 195.16
user 189.58
sys 5.14

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/703043/ft1_filtered_4FGL_J1440.9+0609_daily_bin1434.fits scfile=/scratch/kocevski/703043/ft2_4FGL_J1440.9+0609_daily_bin1434.fits outfile=/scratch/kocevski/703043/cmap_611020801_611280001_4FGL_J1440.9+0609_daily_bin1434.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.60
user 0.37
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/703043/ft1_filtered_4FGL_J1440.9+0609_daily_bin1434.fits scfile=/scratch/kocevski/703043/ft2_4FGL_J1440.9+0609_daily_bin1434.fits outfile=/scratch/kocevski/703043/cmap_HighResolution_611020801_611280001_4FGL_J1440.9+0609_daily_bin1434.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    39.838       1.0000         .10000E-03   10000.    
     3 'Prefactor '    191.43       1.0000         .10000E-03   10000.    
     4 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.198       1.0000         .10000E-03   10000.    
     6 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.2964       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.2535       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7571       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.761       1.0000         .10000E-03   10000.    
    17 'norm      '    1.7485       1.0000         .10000E-03   10000.    
    18 'norm      '    .14919       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.2615       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .57951       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3886       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=   6950.685     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2186 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.9792        .53303E-05** at limit **
   2  Prefactor     39.843        25.170        .16027E-05    .50772E-04
   3  Prefactor     191.44        47.300        .20451E-05    .17212E-03
   4  norm          .10000E-03    13.792       -.37684E-05** at limit **
   5  Prefactor     28.191        27.194       -.25880E-05   -.10147E-03
   6  norm          .10000E-03    8.6406       -.25171E-05** at limit **
   7  Prefactor     3.2982        7.3013       -.57100E-06   -.11416E-03
   8  Prefactor     .10000E-03    3.0932        .12538E-07** at limit **
   9  Prefactor     .10000E-03    65.409       -.35472E-05** at limit **
  10  Prefactor     .10000E-03    35.781        .28089E-05** at limit **
  11  norm          1.2718        53.000       -.33897E-05   -.66722E-04
  12  Prefactor     .10000E-03    8.6144       -.24820E-05** at limit **
  13  Prefactor     1.7531        10.750        .49891E-05   -.83951E-03
  14  Prefactor     .10000E-03    3.5927        .65080E-08** at limit **
  15  Prefactor     .10000E-03    9.0507       -.39063E-05** at limit **
  16  Prefactor     13.762        21.542        .25486E-06    .14647E-04
  17  norm          1.7485        .28255       -.59706E-08   -.24183E-03
  18  norm          .17197        1.1573        .31703E-06   -.64838E-03
  19  norm          .10000E-03    2.7853       -.81353E-08** at limit **
  20  norm          4.2576        3.6731       -.76217E-07   -.11215E-03
  21  Prefactor     .10000E-03    10.780        .72590E-05** at limit **
  22  Normalizat    .57931        .25960       -.84531E-06   -.53684E-04
  23  Prefactor     1.3886        .15962        .63445E-07   -.75406E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 39.8428
  Prefactor  = 191.437
  norm       = 0.0001
  Prefactor  = 28.1909
  norm       = 0.0001
  Prefactor  = 3.29816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.2718
  Prefactor  = 0.0001
  Prefactor  = 1.75306
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.7618
  norm       = 1.74851
  norm       = 0.171968
  norm       = 0.0001
  norm       = 4.25765
  Prefactor  = 0.000100001
  Normalizat = 0.579311
  Prefactor  = 1.38864
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.685     FROM HESSE     STATUS=OK           368 CALLS     2554 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.0273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     39.843        25.122        .63505E-04   -1.4445    
   3  Prefactor     191.44        47.221        .14596E-03   -1.2932    
   4  norm          .10000E-03    13.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     28.191        27.251        .75445E-04   -1.4646    
   6  norm          .10000E-03    8.6472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.2982        7.2830        .22300E-03   -1.5345    
   8  Prefactor     .10000E-03    3.1312        .14309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    65.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    35.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.2718        53.747        .39911E-03   -1.5482    
  12  Prefactor     .10000E-03    8.6420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7531        34.752        .15809E-02   -1.5443    
  14  Prefactor     .10000E-03    3.5955        .15433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.0946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.762        21.537        .10797E-03   -1.4966    
  17  norm          1.7485        .28297        .17054E-04   -1.5444    
  18  norm          .17197        7.5159        .16622E-02   -1.5625    
  19  norm          .10000E-03    2.7907        .13588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.2576        3.6844        .14246E-03   -1.5295    
  21  Prefactor     .10000E-03    10.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .57931        .27602        .44070E-03   -1.0887    
  23  Prefactor     1.3886        .17220        .19195E-03   -.80708    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09436e-08
Minuit parameter uncertainties:
  1  0.000137467
  2  25.1284
  3  47.2307
  4  0.00013136
  5  27.2628
  6  6.628e-05
  7  7.28491
  8  2.81566e-08
  9  0.000254403
  10  0.000307423
  11  16.5508
  12  7.02366e-05
  13  15.6206
  14  4.46332e-07
  15  0.000114351
  16  21.5495
  17  0.282968
  18  2.2734
  19  1.15996e-07
  20  3.68456
  21  0.000238242
  22  0.276673
  23  0.172271
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  3.074e-04  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.389e+00  1.723e-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:  5.793e-01  2.767e-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: 8.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/703043/likelihoodResults_611020801_611280001_4FGL_J1440.9+0609_daily_bin1434.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) = 6950.6848658
delta logL = -0.000132806224428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6949.766494
delta logL = 0.918238990748

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13219       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3404       1.0000          .0000       10.000    
     3 'Normalizat'    .47129       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4282       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=   6949.766     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      311 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12982        1.4404        .53595E-02    .26614E-02
   2  Index         4.3460        1.5605        .96231E-01    .22358E-03
   3  Normalizat    .47141        .48091E-01    .10971        .52350E-04
   4  Prefactor     1.4282        .31235E-01    .30683E-01   -.93581E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.129825
  Index      = 4.34603
  Normalizat = 0.471407
  Prefactor  = 1.42815
 **********
 **   18 **HESSE 
 **********

 FCN=   6949.766     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      346 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12982        4.2698        .24657E-03   -1.5636    
   2  Index         4.3460        3.3893        .32892E-02   -.13117    
   3  Normalizat    .47141        .19878        .48627E-03   -1.1376    
   4  Prefactor     1.4282        .12755        .18961E-03   -.79572    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.31909e-07
Minuit parameter uncertainties:
  1  1.4886
  2  3.73204
  3  0.199083
  4  0.127583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/703043': 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) = 6949.76648757
delta logL = 0.918245424396

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.298e-01  1.489e+00  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  4.346e+00  3.732e+00  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.428e+00  1.276e-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:  4.714e-01  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 220.242 6.163
Photon Index (Free Index): 4.35 +/- 3.73
Photon Flux (Free Index): 7.80e-08 +/- 6.21e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.08e-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/703043/cmap_HighResolution_611020801_611280001_4FGL_J1440.9+0609_daily_bin1434.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.11e-03', comment='SUCCESS', energy_flux2='1.11e-05', dlogl='9.18e-01', photon_flux2='7.80e-08', job_status='DONE', time_completed='2021-09-10 05:21:24.380975', photon_index_error2='3.73', photon_index2='4.35', ts='-0.00', fit_tolerance='1e-08', GAL='1.39', photon_index_error='0.00', photon_flux_upper_limit='8.07e-08', energy_flux_error2='1.08e-05', EG='0.58', time_epoch_completed='1631276484.38', return_code='0', job_id='703043', GAL2='1.43', EG2='0.47', return_code2='102', photon_flux_error2='6.21e-08', ts2='2.00', photon_index='2.12' WHERE bin_id='1434' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:21:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 703043: <4FGL_J1440.9+0609_daily_bin1434> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin1434> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:11:00 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:11:01 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:11:01 2021
Terminated at Fri Sep 10 05:21:25 2021
Results reported at Fri Sep 10 05:21:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin1434 220.242 6.1631 611020801 611280001 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 :                                   610.03 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             322.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            625 sec.

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

