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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin938
RA = 220.242, Dec = 6.1631
tmin = 482457601, tmax = 482716801
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='700214', job_status='RUN', time_executed='2021-09-10 05:04:46.631968', time_epoch_executed='1631275486.63' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700214

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700214/ft1_4FGL_J1440.9+0609_daily_bin938.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700214/ft2_4FGL_J1440.9+0609_daily_bin938.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700214/ft1_4FGL_J1440.9+0609_daily_bin938.fits outfile=/scratch/kocevski/700214/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin938.fits ra=220.242 dec=6.1631 rad=12.0 tmin=482457601.0 tmax=482716801.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.51
user 3.31
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700214/ft1_filtered_4FGL_J1440.9+0609_daily_bin938.fits evtable="EVENTS" scfile=/scratch/kocevski/700214/ft2_4FGL_J1440.9+0609_daily_bin938.fits sctable="SC_DATA" expcube=/scratch/kocevski/700214/ltcube_482457601_482716801_4FGL_J1440.9+0609_daily_bin938.fits outfile=/scratch/kocevski/700214/expmap_482457601_482716801_4FGL_J1440.9+0609_daily_bin938.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/700214/ltcube_482457601_482716801_4FGL_J1440.9+0609_daily_bin938.fits
.....................!
real 192.18
user 186.87
sys 4.95

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/700214/ft1_filtered_4FGL_J1440.9+0609_daily_bin938.fits scfile=/scratch/kocevski/700214/ft2_4FGL_J1440.9+0609_daily_bin938.fits outfile=/scratch/kocevski/700214/cmap_482457601_482716801_4FGL_J1440.9+0609_daily_bin938.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.672       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .57768       1.0000         .10000E-03   10000.    
     4 'norm      '    1.9140       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0897       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.0581       1.0000         .10000E-03   10000.    
     9 'Prefactor '    75.614       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.151       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.824       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.4487       1.0000         .10000E-03   10000.    
    17 'norm      '    1.5804       1.0000         .10000E-03   10000.    
    18 'norm      '    2.6330       1.0000         .10000E-03   10000.    
    19 'norm      '    3.1078       1.0000         .10000E-03   10000.    
    20 'norm      '    5.1489       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1312       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98884       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=   6834.950     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2621 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.6620        .52577E-06** at limit **
   2  Prefactor     15.669        24.689        .43373E-06    .29879E-05
   3  Prefactor     .48730        23.996        .21269E-05   -.20687E-03
   4  norm          1.9140        8.9332        .72297E-05    .52939E-04
   5  Prefactor     .10000E-03    15.893       -.10879E-06** at limit **
   6  norm          .10000E-03    6.5087        .50998E-07** at limit **
   7  Prefactor     1.0916        8.5074        .13099E-05   -.37415E-04
   8  Prefactor     6.0574        7.3195       -.16803E-07   -.31259E-04
   9  Prefactor     75.715        78.311       -.98022E-05   -.15061E-04
  10  Prefactor     .10000E-03    11.714        .63263E-08** at limit **
  11  norm          .10000E-03    5.5197        .15453E-07** at limit **
  12  Prefactor     .10000E-03    18.391       -.47319E-06** at limit **
  13  Prefactor     11.148        25.769        .54698E-06    .55081E-05
  14  Prefactor     .10000E-03    7.5168       -.78434E-06** at limit **
  15  Prefactor     19.824        19.867       -.29681E-07    .95019E-05
  16  Prefactor     4.4437        86.806        .14565E-05    .26847E-05
  17  norm          1.5804        .29594       -.56979E-08    .35408E-03
  18  norm          2.6327        2.3900        .55007E-07    .34114E-04
  19  norm          3.1078        4.8593        .20161E-06    .59455E-05
  20  norm          5.1489        4.4056       -.16697E-07    .39463E-05
  21  Prefactor     .10000E-03    16.959        .39631E-06** at limit **
  22  Normalizat    1.1313        .22561        .10675E-05   -.58586E-04
  23  Prefactor     .98880        .13107       -.34400E-06   -.11241E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.6689
  Prefactor  = 0.487298
  norm       = 1.914
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.09163
  Prefactor  = 6.05736
  Prefactor  = 75.7149
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.1485
  Prefactor  = 0.0001
  Prefactor  = 19.8235
  Prefactor  = 4.44375
  norm       = 1.5804
  norm       = 2.63271
  norm       = 3.10782
  norm       = 5.14887
  Prefactor  = 0.0001
  Normalizat = 1.1313
  Prefactor  = 0.9888
 **********
 **   18 **HESSE 
 **********

 FCN=   6834.950     FROM HESSE     STATUS=OK           384 CALLS     3005 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.7031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.669        24.739        .10117E-03   -1.4916    
   3  Prefactor     .48730        29.208        .11694       -1.5568    
   4  norm          1.9140        8.9391        .15022E-02   -1.5431    
   5  Prefactor     .10000E-03    15.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.5100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.0916        8.2750        .44542E-03   -1.5499    
   8  Prefactor     6.0574        7.2612        .16313E-03   -1.5216    
   9  Prefactor     75.715        78.436        .23088E-03   -1.3965    
  10  Prefactor     .10000E-03    11.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    5.5232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.148        25.833        .11997E-03   -1.5040    
  14  Prefactor     .10000E-03    7.5462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.824        19.838        .89957E-04   -1.4817    
  16  Prefactor     4.4437        86.531        .19091E-03   -1.5286    
  17  norm          1.5804        .29658        .18316E-04   -1.5457    
  18  norm          2.6327        2.3804        .11472E-03   -1.5383    
  19  norm          3.1078        4.8470        .22193E-03   -1.5355    
  20  norm          5.1489        4.4034        .15291E-03   -1.5254    
  21  Prefactor     .10000E-03    16.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1313        .26859        .31887E-03   -.88753    
  23  Prefactor     .98880        .15551        .20543E-03   -.93104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.46571e-11
Minuit parameter uncertainties:
  1  1.08872e-05
  2  24.7547
  3  7.5484
  4  8.27453
  5  6.42222e-06
  6  2.48538e-06
  7  6.01193
  8  7.26224
  9  78.5433
  10  1.20742e-05
  11  4.56997e-06
  12  2.65646e-05
  13  25.8587
  14  1.34997e-05
  15  19.8441
  16  39.2836
  17  0.296584
  18  2.38053
  19  4.84756
  20  4.40363
  21  5.93635e-06
  22  0.268917
  23  0.155577
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  1.207e-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:  9.888e-01  1.556e-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.131e+00  2.689e-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: 5.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/700214/likelihoodResults_482457601_482716801_4FGL_J1440.9+0609_daily_bin938.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) = 6834.95068144
delta logL = -0.000406163571824

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6834.95027526
delta logL = 1.96896507987e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1089       1.0000          .0000       10.000    
     3 'Normalizat'    1.1313       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98880       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6834.950     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      243 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    639.13        .18142E-02** at limit **
   2  Index         2.0971        5.9959        .50000        .80853E-05
   3  Normalizat    1.1313        .44050E-01    .31887E-03   -.13566E-03
   4  Prefactor     .98880        .26905E-01    .20543E-03    .34257E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.0971
  Normalizat = 1.13129
  Prefactor  = 0.988802
 **********
 **   18 **HESSE 
 **********

 FCN=   6834.950     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2015.1        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0971        6.0471        .50000       -.61944    
   3  Normalizat    1.1313        .10924        .12755E-04   -.88753    
   4  Prefactor     .98880        .66728E-01    .82170E-05   -.93104    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.81817e-08
Minuit parameter uncertainties:
  1  0.00260659
  2  55.1699
  3  0.109265
  4  0.0667339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700214': 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) = 6834.95027523
delta logL = 4.65552147944e-08

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  2.607e-03  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.097e+00  5.517e+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:  9.888e-01  6.673e-02  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.131e+00  1.093e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/700214/cmap_HighResolution_482457601_482716801_4FGL_J1440.9+0609_daily_bin938.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.38e-03', job_status='DONE', photon_flux_upper_limit='5.78e-08', time_completed='2021-09-10 05:15:09.020016', job_id='700214', GAL2='0.99', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1631276109.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.66e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='938' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:15:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 700214: <4FGL_J1440.9+0609_daily_bin938> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin938 220.242 6.1631 482457601 482716801 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 :                                   621.14 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             279.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            820 sec.

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

