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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin584
RA = 220.242, Dec = 6.1631
tmin = 390700801, tmax = 390960001
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='698631', job_status='RUN', time_executed='2021-09-10 04:59:07.343745', time_epoch_executed='1631275147.34' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='584'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698631

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698631/ft1_4FGL_J1440.9+0609_daily_bin584.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698631/ft2_4FGL_J1440.9+0609_daily_bin584.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698631/ft1_4FGL_J1440.9+0609_daily_bin584.fits outfile=/scratch/kocevski/698631/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin584.fits ra=220.242 dec=6.1631 rad=12.0 tmin=390700801.0 tmax=390960001.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 7.17
user 6.88
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/698631/ft1_filtered_4FGL_J1440.9+0609_daily_bin584.fits" evtable="EVENTS" scfile=/scratch/kocevski/698631/ft2_4FGL_J1440.9+0609_daily_bin584.fits sctable="SC_DATA" outfile=/scratch/kocevski/698631/ltcube_390700801_390960001_4FGL_J1440.9+0609_daily_bin584.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/698631/ft2_4FGL_J1440.9+0609_daily_bin584.fits
.....................!
real 13.48
user 13.11
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698631/ft1_filtered_4FGL_J1440.9+0609_daily_bin584.fits evtable="EVENTS" scfile=/scratch/kocevski/698631/ft2_4FGL_J1440.9+0609_daily_bin584.fits sctable="SC_DATA" expcube=/scratch/kocevski/698631/ltcube_390700801_390960001_4FGL_J1440.9+0609_daily_bin584.fits outfile=/scratch/kocevski/698631/expmap_390700801_390960001_4FGL_J1440.9+0609_daily_bin584.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/698631/ltcube_390700801_390960001_4FGL_J1440.9+0609_daily_bin584.fits
.....................!
real 192.34
user 186.05
sys 5.77

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/698631/ft1_filtered_4FGL_J1440.9+0609_daily_bin584.fits scfile=/scratch/kocevski/698631/ft2_4FGL_J1440.9+0609_daily_bin584.fits outfile=/scratch/kocevski/698631/cmap_390700801_390960001_4FGL_J1440.9+0609_daily_bin584.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/698631/ft1_filtered_4FGL_J1440.9+0609_daily_bin584.fits scfile=/scratch/kocevski/698631/ft2_4FGL_J1440.9+0609_daily_bin584.fits outfile=/scratch/kocevski/698631/cmap_HighResolution_390700801_390960001_4FGL_J1440.9+0609_daily_bin584.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.7954       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.3396       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.907       1.0000         .10000E-03   10000.    
     6 'norm      '    .23801E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .36109       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8433       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10304E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.7809       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.1454       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.358       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .27431E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.9538       1.0000         .10000E-03   10000.    
    20 'norm      '    5.2082       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3679       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98158       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=   6962.015     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2261 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    22.400        .90712E-02** at limit **
   2  Prefactor     7.7969        15.662        .35905E-02    .83842E-04
   3  Prefactor     .10000E-03    46.158        .90712E-02** at limit **
   4  norm          7.3412        12.456        .37012E-02   -.12866E-03
   5  Prefactor     14.897        21.373        .25934E-02    .42295E-03
   6  norm          .10001E-03    20.956        .12351    ** at limit **
   7  Prefactor     .37571        7.4438        .71499E-01   -.25952E-03
   8  Prefactor     8.8412        8.7211        .33696E-02    .10421E-02
   9  Prefactor     .10001E-03    124.70        .90712E-02** at limit **
  10  Prefactor     .10001E-03    25.957        .90712E-02** at limit **
  11  norm          .10000E-03    21.566        .90712E-02** at limit **
  12  Prefactor     5.7831        18.759        .41761E-02    .96329E-04
  13  Prefactor     9.1450        20.075        .33132E-02    .44981E-04
  14  Prefactor     20.358        14.969        .22193E-02    .95287E-04
  15  Prefactor     .10000E-03    8.8658        .90712E-02** at limit **
  16  Prefactor     .10000E-03    12.803        .90712E-02** at limit **
  17  norm          .27461E-01    .99638E-01    .91593E-02    .50995E-02
  18  norm          .10000E-03    1.1225        .46901E-01** at limit **
  19  norm          4.9538        5.1933        .45174E-02    .86772E-04
  20  norm          5.2083        4.2300        .44036E-02    .18290E-03
  21  Prefactor     .10001E-03    72.347        .90712E-02** at limit **
  22  Normalizat    1.3680        .22358        .66588E-01   -.11044E-03
  23  Prefactor     .98146        .13333        .46036E-01   -.20326E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Prefactor  = 7.79685
  Prefactor  = 0.000100004
  norm       = 7.34124
  Prefactor  = 14.8967
  norm       = 0.000100014
  Prefactor  = 0.375708
  Prefactor  = 8.84118
  Prefactor  = 0.000100011
  Prefactor  = 0.000100008
  norm       = 0.000100003
  Prefactor  = 5.78312
  Prefactor  = 9.14503
  Prefactor  = 20.3576
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0274611
  norm       = 0.0001
  norm       = 4.95377
  norm       = 5.20831
  Prefactor  = 0.000100006
  Normalizat = 1.36799
  Prefactor  = 0.981459
 **********
 **   18 **HESSE 
 **********

 FCN=   6962.015     FROM HESSE     STATUS=OK           384 CALLS     2645 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    22.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.7969        15.652        .14362E-03   -1.5149    
   3  Prefactor     .10000E-03    46.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.3412        12.473        .14805E-03   -1.5166    
   5  Prefactor     14.897        21.414        .10374E-03   -1.4936    
   6  norm          .10001E-03    23.151        .11468       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .37571        41.402        .39982E-02   -1.5585    
   8  Prefactor     8.8412        8.6450        .13479E-03   -1.5113    
   9  Prefactor     .10001E-03    125.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    26.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    21.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.7831        18.741        .16705E-03   -1.5227    
  13  Prefactor     9.1450        20.054        .13253E-03   -1.5103    
  14  Prefactor     20.358        14.981        .88771E-04   -1.4805    
  15  Prefactor     .10000E-03    8.8724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .27461E-01    .15185        .47225E-03   -1.5675    
  18  norm          .10000E-03    4.2782        .16762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.9538        5.1900        .18070E-03   -1.5263    
  20  norm          5.2083        4.1951        .14777E-03   -1.5251    
  21  Prefactor     .10001E-03    72.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3680        .27052        .29457E-03   -.81559    
  23  Prefactor     .98146        .16209        .20708E-03   -.93350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05423e-08
Minuit parameter uncertainties:
  1  0.000768314
  2  15.66
  3  0.000890874
  4  12.4772
  5  21.4247
  6  0.00114354
  7  7.89249
  8  8.64621
  9  0.00235963
  10  0.000931109
  11  0.000480865
  12  18.7602
  13  20.0692
  14  14.9839
  15  1.83777e-05
  16  2.06494e-07
  17  0.128916
  18  1.24785e-05
  19  5.19045
  20  4.1953
  21  0.00128458
  22  0.270801
  23  0.162173
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  9.311e-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:  9.815e-01  1.622e-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.368e+00  2.708e-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.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/698631/likelihoodResults_390700801_390960001_4FGL_J1440.9+0609_daily_bin584.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) = 6962.01527061
delta logL = -0.000182971016329

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6962.01508744
delta logL = 1.99390342459e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10604E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3487       1.0000          .0000       10.000    
     3 'Normalizat'    1.3680       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98146       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=   6962.015     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      235 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0749        .90712E-02** at limit **
   2  Index         2.3742        7.0941        .50000       -.77020E-05
   3  Normalizat    1.3680        .17347E-02    .66588E-01    .35456E-04
   4  Prefactor     .98146        .10597E-02    .46035E-01    .36143E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.37416
  Normalizat = 1.36799
  Prefactor  = 0.981459
 **********
 **   18 **HESSE 
 **********

 FCN=   6962.015     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    70.144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3742        5.9445        .50000       -.55291    
   3  Normalizat    1.3680        .82462E-02    .29457E-03   -.81559    
   4  Prefactor     .98146        .50402E-02    .20708E-03   -.93350    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.16406e-08
Minuit parameter uncertainties:
  1  0.000385243
  2  109.381
  3  0.00824616
  4  0.00504021
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698631': 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) = 6962.0150873
delta logL = 3.41818122251e-07

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  3.852e-04  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.374e+00  1.094e+02  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:  9.815e-01  5.040e-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:  1.368e+00  8.246e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/698631/cmap_HighResolution_390700801_390960001_4FGL_J1440.9+0609_daily_bin584.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.61e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2021-09-10 05:09:37.025707', job_id='698631', GAL2='0.98', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1631275777.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='3.42e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='584' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:09:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 698631: <4FGL_J1440.9+0609_daily_bin584> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin584 220.242 6.1631 390700801 390960001 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 :                                   626.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            791 sec.

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

