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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin900
RA = 220.242, Dec = 6.1631
tmin = 472608001, tmax = 472867201
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='700154', job_status='RUN', time_executed='2021-09-10 05:05:14.013454', time_epoch_executed='1631275514.01' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='900'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700154

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700154/ft1_4FGL_J1440.9+0609_daily_bin900.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700154/ft2_4FGL_J1440.9+0609_daily_bin900.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700154/ft1_4FGL_J1440.9+0609_daily_bin900.fits outfile=/scratch/kocevski/700154/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin900.fits ra=220.242 dec=6.1631 rad=12.0 tmin=472608001.0 tmax=472867201.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.50
user 3.26
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700154/ft1_filtered_4FGL_J1440.9+0609_daily_bin900.fits evtable="EVENTS" scfile=/scratch/kocevski/700154/ft2_4FGL_J1440.9+0609_daily_bin900.fits sctable="SC_DATA" expcube=/scratch/kocevski/700154/ltcube_472608001_472867201_4FGL_J1440.9+0609_daily_bin900.fits outfile=/scratch/kocevski/700154/expmap_472608001_472867201_4FGL_J1440.9+0609_daily_bin900.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/700154/ltcube_472608001_472867201_4FGL_J1440.9+0609_daily_bin900.fits
.....................!
real 191.48
user 185.71
sys 5.40

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/700154/ft1_filtered_4FGL_J1440.9+0609_daily_bin900.fits scfile=/scratch/kocevski/700154/ft2_4FGL_J1440.9+0609_daily_bin900.fits outfile=/scratch/kocevski/700154/cmap_472608001_472867201_4FGL_J1440.9+0609_daily_bin900.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.56
user 0.38
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.910       1.0000         .10000E-03   10000.    
     4 'norm      '    9.2895       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.681       1.0000         .10000E-03   10000.    
     6 'norm      '    .10979E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.0076       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6201       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    41.020       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.894       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.303       1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.887       1.0000         .10000E-03   10000.    
    17 'norm      '    3.3928       1.0000         .10000E-03   10000.    
    18 'norm      '    5.7492       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.3353       1.0000         .10000E-03   10000.    
    21 'Prefactor '    50.634       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .83807       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0527       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=   9560.230     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2561 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.3475        .18744E-07** at limit **
   2  Prefactor     .10000E-03    4.8071        .23595E-07** at limit **
   3  Prefactor     10.894        29.040       -.24202E-05   -.61480E-04
   4  norm          9.2895        8.5293        .57048E-07    .12172E-04
   5  Prefactor     17.682        20.734        .18501E-06   -.29034E-04
   6  norm          .10000E-03    46.506        .22390E-05** at limit **
   7  Prefactor     5.0080        6.4710        .23805E-06    .24049E-03
   8  Prefactor     5.6180        6.1872        .37089E-05   -.81643E-03
   9  Prefactor     .10000E-03    65.122        .15130E-05** at limit **
  10  Prefactor     .10000E-03    31.410       -.24351E-05** at limit **
  11  norm          41.039        19.956        .23294E-07    .61198E-04
  12  Prefactor     .10000E-03    20.834       -.13089E-05** at limit **
  13  Prefactor     .10000E-03    22.621        .19250E-05** at limit **
  14  Prefactor     11.895        16.726        .74566E-06    .53387E-04
  15  Prefactor     13.240        25.672       -.63846E-05   -.22612E-03
  16  Prefactor     29.911        41.179        .60448E-05    .17992E-03
  17  norm          3.3928        .33891       -.71556E-10   -.20500E-03
  18  norm          5.7487        2.4884        .30365E-07   -.95262E-04
  19  norm          .10000E-03    2.1381       -.11982E-08** at limit **
  20  norm          1.3358        2.5970        .51666E-06   -.13470E-03
  21  Prefactor     50.631        36.374       -.23716E-06   -.30228E-04
  22  Normalizat    .83838        .20236       -.73175E-06   -.35867E-04
  23  Prefactor     1.0525        .11860       -.75511E-07   -.65225E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8945
  norm       = 9.28951
  Prefactor  = 17.6822
  norm       = 0.0001
  Prefactor  = 5.008
  Prefactor  = 5.61799
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 41.039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8946
  Prefactor  = 13.2403
  Prefactor  = 29.9114
  norm       = 3.39276
  norm       = 5.74873
  norm       = 0.0001
  norm       = 1.33585
  Prefactor  = 50.6315
  Normalizat = 0.838379
  Prefactor  = 1.05255
 **********
 **   18 **HESSE 
 **********

 FCN=   9560.230     FROM HESSE     STATUS=OK           368 CALLS     2929 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.8154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.894        29.124        .12130E-03   -1.5048    
   4  norm          9.2895        8.5336        .13149E-03   -1.5098    
   5  Prefactor     17.682        20.810        .95251E-04   -1.4867    
   6  norm          .10000E-03    47.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.0080        6.5336        .17970E-03   -1.5260    
   8  Prefactor     5.6180        6.4704        .84727E-03   -1.5234    
   9  Prefactor     .10000E-03    65.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    31.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          41.039        19.929        .62587E-04   -1.4426    
  12  Prefactor     .10000E-03    20.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.895        16.746        .11615E-03   -1.5018    
  15  Prefactor     13.240        26.619        .10982E-03   -1.4980    
  16  Prefactor     29.911        42.376        .73288E-04   -1.4614    
  17  norm          3.3928        .33947        .17157E-04   -1.5340    
  18  norm          5.7487        2.4817        .95172E-04   -1.5228    
  19  norm          .10000E-03    2.1463        .13962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.3358        2.5672        .21094E-03   -1.5477    
  21  Prefactor     50.631        36.385        .56359E-04   -1.4284    
  22  Normalizat    .83838        .23500        .37005E-03   -.98661    
  23  Prefactor     1.0525        .13828        .20537E-03   -.90998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33884e-09
Minuit parameter uncertainties:
  1  2.82081e-06
  2  1.78344e-06
  3  29.1618
  4  8.53476
  5  20.819
  6  0.000306167
  7  6.53449
  8  6.47122
  9  0.000291981
  10  0.000328677
  11  19.9323
  12  5.75808e-05
  13  0.000191552
  14  16.7526
  15  26.6428
  16  42.4188
  17  0.339466
  18  2.48173
  19  1.89131e-07
  20  2.56742
  21  36.4005
  22  0.235288
  23  0.138323
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  3.287e-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.053e+00  1.383e-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:  8.384e-01  2.353e-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.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/700154/likelihoodResults_472608001_472867201_4FGL_J1440.9+0609_daily_bin900.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) = 9560.2297563
delta logL = -0.000150860334543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9560.22960622
delta logL = -7.79093170422e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12736E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2529       1.0000          .0000       10.000    
     3 'Normalizat'    .83838       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0525       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=   9560.230     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      236 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4872        .90712E-02** at limit **
   2  Index         2.2172        5.2359        .50000        .98145E-05
   3  Normalizat    .83838        .22895E-02    .83570E-01    .46064E-04
   4  Prefactor     1.0525        .14155E-02    .39763E-01   -.14282E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.2172
  Normalizat = 0.83838
  Prefactor  = 1.05255
 **********
 **   18 **HESSE 
 **********

 FCN=   9560.230     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      267 TOTAL
                     EDM=   .90E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    89.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2172        8.0779        .50000       -.59024    
   3  Normalizat    .83838        .84792E-02    .37005E-03   -.98660    
   4  Prefactor     1.0525        .52543E-02    .20537E-03   -.90998    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.01097e-08
Minuit parameter uncertainties:
  1  0.000278677
  2  124.975
  3  0.00847922
  4  0.00525426
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700154': 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) = 9560.22960562
delta logL = -1.82239091373e-07

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  2.787e-04  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.217e+00  1.250e+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:  1.053e+00  5.254e-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:  8.384e-01  8.479e-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/700154/cmap_HighResolution_472608001_472867201_4FGL_J1440.9+0609_daily_bin900.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.67e-03', job_status='DONE', photon_flux_upper_limit='7.49e-08', time_completed='2021-09-10 05:17:34.649660', job_id='700154', GAL2='1.05', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1631276254.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='-1.82e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='900' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:17:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 700154: <4FGL_J1440.9+0609_daily_bin900> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin900 220.242 6.1631 472608001 472867201 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 :                                   740.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            971 sec.

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

