/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 148 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 = 7478
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1440.9+0609_daily_bin287
RA = 220.242, Dec = 6.1631
tmin = 313718401, tmax = 313977601
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='697171', job_status='RUN', time_executed='2021-09-10 04:54:19.704114', time_epoch_executed='1631274859.7' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='287'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697171

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697171/ft1_4FGL_J1440.9+0609_daily_bin287.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697171/ft2_4FGL_J1440.9+0609_daily_bin287.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697171/ft1_4FGL_J1440.9+0609_daily_bin287.fits outfile=/scratch/kocevski/697171/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin287.fits ra=220.242 dec=6.1631 rad=12.0 tmin=313718401.0 tmax=313977601.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.33
user 3.11
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697171/ft1_filtered_4FGL_J1440.9+0609_daily_bin287.fits evtable="EVENTS" scfile=/scratch/kocevski/697171/ft2_4FGL_J1440.9+0609_daily_bin287.fits sctable="SC_DATA" expcube=/scratch/kocevski/697171/ltcube_313718401_313977601_4FGL_J1440.9+0609_daily_bin287.fits outfile=/scratch/kocevski/697171/expmap_313718401_313977601_4FGL_J1440.9+0609_daily_bin287.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/697171/ltcube_313718401_313977601_4FGL_J1440.9+0609_daily_bin287.fits
.....................!
real 189.91
user 185.11
sys 4.42

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/697171/ft1_filtered_4FGL_J1440.9+0609_daily_bin287.fits scfile=/scratch/kocevski/697171/ft2_4FGL_J1440.9+0609_daily_bin287.fits outfile=/scratch/kocevski/697171/cmap_313718401_313977601_4FGL_J1440.9+0609_daily_bin287.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/697171/ft1_filtered_4FGL_J1440.9+0609_daily_bin287.fits scfile=/scratch/kocevski/697171/ft2_4FGL_J1440.9+0609_daily_bin287.fits outfile=/scratch/kocevski/697171/cmap_HighResolution_313718401_313977601_4FGL_J1440.9+0609_daily_bin287.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.530       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.760       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.6637       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4508       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.0755       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .27712E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10920E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    7.6998       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15028E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10999E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .35787       1.0000         .10000E-03   10000.    
    18 'norm      '    2.9152       1.0000         .10000E-03   10000.    
    19 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.3278       1.0000         .10000E-03   10000.    
    21 'Prefactor '    28.580       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .94386       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1270       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=   6295.356     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2556 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.527        13.146        .13495E-06   -.26802E-04
   2  Prefactor     18.756        29.014        .48933E-06   -.38600E-04
   3  Prefactor     6.6623        19.922        .72362E-06    .68648E-05
   4  norm          .10000E-03    6.7956        .34349E-07** at limit **
   5  Prefactor     .10000E-03    9.1348        .41639E-07** at limit **
   6  norm          .10000E-03    11.254        .22720E-07** at limit **
   7  Prefactor     8.4506        7.5100       -.17371E-07   -.46474E-04
   8  Prefactor     2.0744        5.0154        .15981E-05    .37638E-03
   9  Prefactor     .10020E-03    636.68       -.20438E-04** at limit **
  10  Prefactor     .10000E-03    38.403       -.59571E-06** at limit **
  11  norm          7.7038        14.145       -.10276E-07   -.63746E-04
  12  Prefactor     .10000E-03    7.0657        .20577E-07** at limit **
  13  Prefactor     .10000E-03    6.0919        .18832E-07** at limit **
  14  Prefactor     .10001E-03    6.3756        .74222E-06** at limit **
  15  Prefactor     .10000E-03    14.145        .54431E-07** at limit **
  16  Prefactor     .10376E-03    66.194        .84082E-05** at limit **
  17  norm          .35785        .17714        .39387E-07   -.63840E-03
  18  norm          2.9150        2.3783        .12828E-06   -.42149E-04
  19  norm          .10000E-03    4.1751        .26854E-07** at limit **
  20  norm          6.3272        4.7087        .16013E-06    .44883E-04
  21  Prefactor     28.589        36.773        .39305E-06   -.97089E-05
  22  Normalizat    .94387        .22306       -.21703E-05   -.60974E-03
  23  Prefactor     1.1271        .13785       -.44762E-06   -.10385E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.5267
  Prefactor  = 18.7559
  Prefactor  = 6.66226
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.45064
  Prefactor  = 2.07437
  Prefactor  = 0.000100201
  Prefactor  = 0.0001
  norm       = 7.70384
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 0.000103763
  norm       = 0.35785
  norm       = 2.91497
  norm       = 0.0001
  norm       = 6.32716
  Prefactor  = 28.5895
  Normalizat = 0.943875
  Prefactor  = 1.12708
 **********
 **   18 **HESSE 
 **********

 FCN=   6295.356     FROM HESSE     STATUS=OK           372 CALLS     2928 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.527        13.145        .10163E-03   -1.4920    
   2  Prefactor     18.756        29.050        .92471E-04   -1.4842    
   3  Prefactor     6.6623        19.917        .15545E-03   -1.5192    
   4  norm          .10000E-03    6.8081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.1466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    11.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.4506        7.4772        .13790E-03   -1.5126    
   8  Prefactor     2.0744        5.0540        .26359E-03   -1.5420    
   9  Prefactor     .10020E-03    651.38        .39826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    38.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.7038        14.085        .14451E-03   -1.5153    
  12  Prefactor     .10000E-03    7.0709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.0963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    34.177        .38088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10376E-03    265.37        .84269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .35785        .17464        .22452E-04   -1.5588    
  18  norm          2.9150        2.3710        .10430E-03   -1.5366    
  19  norm          .10000E-03    4.2361        .15833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.3272        4.7112        .14164E-03   -1.5205    
  21  Prefactor     28.589        36.788        .74941E-04   -1.4638    
  22  Normalizat    .94387        .26058        .32119E-03   -.94935    
  23  Prefactor     1.1271        .16299        .18929E-03   -.88606    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43723e-08
Minuit parameter uncertainties:
  1  13.1478
  2  29.0715
  3  19.9371
  4  6.53878e-06
  5  1.16398e-05
  6  1.04351e-05
  7  7.478
  8  5.05502
  9  0.0231244
  10  8.52533e-05
  11  14.0909
  12  1.80951e-06
  13  4.53024e-06
  14  0.0013894
  15  1.96565e-05
  16  0.0634877
  17  0.174638
  18  2.37111
  19  4.10987e-06
  20  4.71147
  21  36.817
  22  0.260933
  23  0.163065
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  8.525e-05  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.127e+00  1.631e-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:  9.439e-01  2.609e-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: 7.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/697171/likelihoodResults_313718401_313977601_4FGL_J1440.9+0609_daily_bin287.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) = 6295.35605258
delta logL = -0.000124095534375

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6295.3559284
delta logL = 7.89532350609e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10665E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2512       1.0000          .0000       10.000    
     3 'Normalizat'    .94387       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1271       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=   6295.356     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.7897        .90712E-02** at limit **
   2  Index         2.2767        6.2708        .50000       -.49428E-05
   3  Normalizat    .94388        .21176E-02    .72588E-01    .42389E-04
   4  Prefactor     1.1271        .13570E-02    .36638E-01    .34530E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.27668
  Normalizat = 0.943876
  Prefactor  = 1.12708
 **********
 **   18 **HESSE 
 **********

 FCN=   6295.356     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      272 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    93.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2767        5.7735        .50000       -.57599    
   3  Normalizat    .94388        .78076E-02    .32119E-03   -.94935    
   4  Prefactor     1.1271        .50120E-02    .18929E-03   -.88606    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28032e-08
Minuit parameter uncertainties:
  1  0.000760669
  2  88.8037
  3  0.00780764
  4  0.00501197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697171': 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) = 6295.3559283
delta logL = 1.86165380001e-07

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  7.607e-04  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.277e+00  8.880e+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.127e+00  5.012e-03  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:  9.439e-01  7.808e-03  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/697171/cmap_HighResolution_313718401_313977601_4FGL_J1440.9+0609_daily_bin287.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.57e-03', job_status='DONE', photon_flux_upper_limit='7.35e-08', time_completed='2021-09-10 05:04:09.172669', job_id='697171', GAL2='1.13', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1631275449.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.86e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='287' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:04:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 697171: <4FGL_J1440.9+0609_daily_bin287> in cluster <slac> Done

Job <4FGL_J1440.9+0609_daily_bin287> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 04:51:41 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 04:51:43 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:51:43 2021
Terminated at Fri Sep 10 05:04:09 2021
Results reported at Fri Sep 10 05:04:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin287 220.242 6.1631 313718401 313977601 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 :                                   587.22 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             319.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            748 sec.

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

