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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin134
RA = 220.242, Dec = 6.1631
tmin = 274060801, tmax = 274320001
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='696918', job_status='RUN', time_executed='2021-09-10 04:54:33.108060', time_epoch_executed='1631274873.11' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='134'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696918

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/696918/ft1_4FGL_J1440.9+0609_daily_bin134.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/696918/ft2_4FGL_J1440.9+0609_daily_bin134.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696918/ft1_4FGL_J1440.9+0609_daily_bin134.fits outfile=/scratch/kocevski/696918/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin134.fits ra=220.242 dec=6.1631 rad=12.0 tmin=274060801.0 tmax=274320001.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.67
user 3.42
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/696918/ft2_4FGL_J1440.9+0609_daily_bin134.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/696918/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin134.fits evtable="EVENTS" outfile="/scratch/kocevski/696918/ft1_filtered_4FGL_J1440.9+0609_daily_bin134.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/696918/ft1_filtered_4FGL_J1440.9+0609_daily_bin134.fits" evtable="EVENTS" scfile=/scratch/kocevski/696918/ft2_4FGL_J1440.9+0609_daily_bin134.fits sctable="SC_DATA" outfile=/scratch/kocevski/696918/ltcube_274060801_274320001_4FGL_J1440.9+0609_daily_bin134.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/696918/ft2_4FGL_J1440.9+0609_daily_bin134.fits
.....................!
real 13.16
user 12.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696918/ft1_filtered_4FGL_J1440.9+0609_daily_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/696918/ft2_4FGL_J1440.9+0609_daily_bin134.fits sctable="SC_DATA" expcube=/scratch/kocevski/696918/ltcube_274060801_274320001_4FGL_J1440.9+0609_daily_bin134.fits outfile=/scratch/kocevski/696918/expmap_274060801_274320001_4FGL_J1440.9+0609_daily_bin134.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/696918/ltcube_274060801_274320001_4FGL_J1440.9+0609_daily_bin134.fits
.....................!
real 191.15
user 185.59
sys 5.11

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/696918/ft1_filtered_4FGL_J1440.9+0609_daily_bin134.fits scfile=/scratch/kocevski/696918/ft2_4FGL_J1440.9+0609_daily_bin134.fits outfile=/scratch/kocevski/696918/cmap_274060801_274320001_4FGL_J1440.9+0609_daily_bin134.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696918/ft1_filtered_4FGL_J1440.9+0609_daily_bin134.fits scfile=/scratch/kocevski/696918/ft2_4FGL_J1440.9+0609_daily_bin134.fits outfile=/scratch/kocevski/696918/cmap_HighResolution_274060801_274320001_4FGL_J1440.9+0609_daily_bin134.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.58
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .23925E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    13.692       1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.255       1.0000         .10000E-03   10000.    
     6 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .49568E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3580       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.404       1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.405       1.0000         .10000E-03   10000.    
    11 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.415       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .32390E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .90319       1.0000         .10000E-03   10000.    
    18 'norm      '    .67129E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.0587       1.0000         .10000E-03   10000.    
    20 'norm      '    3.1543       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.4045       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1431       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0507       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=   8861.837     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2561 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.3181        .19646E-07** at limit **
   2  Prefactor     .10000E-03    5.7206       -.41846E-07** at limit **
   3  Prefactor     .10000E-03    101.21        .97811E-06** at limit **
   4  norm          13.693        9.9238       -.24512E-07    .53227E-05
   5  Prefactor     32.260        26.223       -.91374E-08    .73901E-05
   6  norm          .10000E-03    11.588       -.15698E-06** at limit **
   7  Prefactor     .10000E-03    43.922        .14322E-04** at limit **
   8  Prefactor     4.3582        6.7067       -.16116E-05   -.10633E-02
   9  Prefactor     11.396        36.844       -.23007E-05   -.93865E-05
  10  Prefactor     25.411        22.002        .33353E-06    .87482E-04
  11  norm          .10000E-03    9.8412       -.61003E-06** at limit **
  12  Prefactor     11.411        27.338        .11156E-05    .94606E-04
  13  Prefactor     .10000E-03    10.584        .54458E-06** at limit **
  14  Prefactor     .10000E-03    6.4461        .25915E-06** at limit **
  15  Prefactor     .10000E-03    22.142        .36330E-06** at limit **
  16  Prefactor     .10003E-03    174.06        .28470E-06** at limit **
  17  norm          .90316        .20659        .79723E-08    .11294E-02
  18  norm          .10000E-03    .74885        .87619E-07** at limit **
  19  norm          8.0595        7.1912       -.53188E-06    .21513E-03
  20  norm          3.1535        2.7595       -.32915E-06    .35037E-03
  21  Prefactor     2.4062        58.580       -.93789E-05    .10270E-03
  22  Normalizat    1.1430        .19961        .92006E-06   -.36333E-04
  23  Prefactor     1.0506        .11765       -.85364E-09   -.88163E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 13.6927
  Prefactor  = 32.2598
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 4.3582
  Prefactor  = 11.3956
  Prefactor  = 25.4106
  norm       = 0.0001
  Prefactor  = 11.4113
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010003
  norm       = 0.903164
  norm       = 0.0001
  norm       = 8.0595
  norm       = 3.15346
  Prefactor  = 2.40619
  Normalizat = 1.14305
  Prefactor  = 1.05057
 **********
 **   18 **HESSE 
 **********

 FCN=   8861.837     FROM HESSE     STATUS=OK           374 CALLS     2935 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.3395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.7256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    105.13        .40122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          13.693        9.9256        .10825E-03   -1.4968    
   5  Prefactor     32.260        26.306        .70553E-04   -1.4571    
   6  norm          .10000E-03    11.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    43.205        .42319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.3582        6.5864        .19294E-03   -1.5290    
   9  Prefactor     11.396        36.815        .11863E-03   -1.5033    
  10  Prefactor     25.411        22.022        .79477E-04   -1.4699    
  11  norm          .10000E-03    9.8910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.411        27.409        .11857E-03   -1.5032    
  13  Prefactor     .10000E-03    10.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.4620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    22.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10003E-03    176.05        .42714E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .90316        .20661        .19569E-04   -1.5518    
  18  norm          .10000E-03    7.0683        .15408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.0595        7.1960        .70618E-03   -1.5140    
  20  norm          3.1535        2.7419        .70474E-03   -1.5353    
  21  Prefactor     2.4062        58.851        .13202E-02   -1.5398    
  22  Normalizat    1.1430        .23537        .31580E-03   -.88381    
  23  Prefactor     1.0506        .14033        .19990E-03   -.91062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78189e-09
Minuit parameter uncertainties:
  1  1.00045e-06
  2  2.20098e-06
  3  0.000823763
  4  9.92681
  5  26.3159
  6  1.98489e-05
  7  0.000587461
  8  6.5875
  9  36.8887
  10  22.0292
  11  3.07508e-05
  12  27.4396
  13  8.35065e-06
  14  2.49024e-05
  15  0.000181724
  16  0.00462227
  17  0.206606
  18  3.5952e-05
  19  7.19678
  20  2.74203
  21  23.8255
  22  0.235583
  23  0.140384
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.541e+01  2.203e+01  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.051e+00  1.404e-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.143e+00  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.75
Ra Dec: 220.242 6.163
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.69e-08 +/- 2.33e-08
Energy Flux (Fixed Index): 1.41e-05 +/- 1.23e-05

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): 0
logL (Free Index) = 8859.52878228
delta logL = 2.30775733142

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8859.45347675
delta logL = 2.38306286759

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.425       1.0000         .10000E-03   10000.    
     2 'Index     '    .61053       1.0000          .0000       10.000    
     3 'Normalizat'    1.1612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0495       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=   8859.453     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      212 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.425        13.463        .28410E-02    .58027E-03
   2  Index         .60997        .50179        .35871       -.54268E-03
   3  Normalizat    1.1612        .18929        .70871E-01    .22639E-04
   4  Prefactor     1.0495        .11604        .39940E-01    .18963E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4251
  Index      = 0.609971
  Normalizat = 1.16121
  Prefactor  = 1.04946
 **********
 **   18 **HESSE 
 **********

 FCN=   8859.453     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.425        17.965        .11364E-03   -1.5003    
   2  Index         .60997        .59623        .89186E-01   -1.0717    
   3  Normalizat    1.1612        .22431        .31360E-03   -.87810    
   4  Prefactor     1.0495        .13770        .20000E-03   -.91098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.98724e-10
Minuit parameter uncertainties:
  1  17.9729
  2  0.602577
  3  0.224497
  4  0.137746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696918': 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): 0
logL (Free Index) = 8859.4534757
delta logL = 2.38306391718

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.243e+01  1.797e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  6.100e-01  6.026e-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.049e+00  1.377e-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.161e+00  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.50
Ra Dec: 220.242 6.163
Photon Index (Free Index): 0.61 +/- 0.60
Photon Flux (Free Index): 3.37e-09 +/- 3.39e-09
Energy Flux (Free Index): 1.01e-04 +/- 1.22e-04

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/696918/cmap_HighResolution_274060801_274320001_4FGL_J1440.9+0609_daily_bin134.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.69e-08', energy_flux2='1.01e-04', photon_flux_error='2.33e-08', dlogl='2.38e+00', energy_flux='1.41e-05', photon_flux2='3.37e-09', job_status='DONE', time_completed='2021-09-10 05:05:09.545551', photon_index_error2='0.60', photon_index2='0.61', ts='10.75', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.22e-04', EG='1.14', time_epoch_completed='1631275509.55', return_code='0', job_id='696918', GAL2='1.05', EG2='1.16', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='3.39e-09', ts2='15.50', photon_index='2.12' WHERE bin_id='134' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:05:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 696918: <4FGL_J1440.9+0609_daily_bin134> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin134 220.242 6.1631 274060801 274320001 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 :                                   635.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            830 sec.

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

