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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin351
RA = 220.242, Dec = 6.1631
tmin = 330307201, tmax = 330566401
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='697274', job_status='RUN', time_executed='2021-09-10 04:54:22.708904', time_epoch_executed='1631274862.71' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='351'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697274

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697274/ft1_4FGL_J1440.9+0609_daily_bin351.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697274/ft2_4FGL_J1440.9+0609_daily_bin351.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697274/ft1_4FGL_J1440.9+0609_daily_bin351.fits outfile=/scratch/kocevski/697274/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin351.fits ra=220.242 dec=6.1631 rad=12.0 tmin=330307201.0 tmax=330566401.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.82
user 3.60
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/697274/ft2_4FGL_J1440.9+0609_daily_bin351.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/697274/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin351.fits evtable="EVENTS" outfile="/scratch/kocevski/697274/ft1_filtered_4FGL_J1440.9+0609_daily_bin351.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/697274/ft1_filtered_4FGL_J1440.9+0609_daily_bin351.fits" evtable="EVENTS" scfile=/scratch/kocevski/697274/ft2_4FGL_J1440.9+0609_daily_bin351.fits sctable="SC_DATA" outfile=/scratch/kocevski/697274/ltcube_330307201_330566401_4FGL_J1440.9+0609_daily_bin351.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/697274/ft2_4FGL_J1440.9+0609_daily_bin351.fits
.....................!
real 11.72
user 11.38
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697274/ft1_filtered_4FGL_J1440.9+0609_daily_bin351.fits evtable="EVENTS" scfile=/scratch/kocevski/697274/ft2_4FGL_J1440.9+0609_daily_bin351.fits sctable="SC_DATA" expcube=/scratch/kocevski/697274/ltcube_330307201_330566401_4FGL_J1440.9+0609_daily_bin351.fits outfile=/scratch/kocevski/697274/expmap_330307201_330566401_4FGL_J1440.9+0609_daily_bin351.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/697274/ltcube_330307201_330566401_4FGL_J1440.9+0609_daily_bin351.fits
.....................!
real 190.85
user 186.21
sys 4.29

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/697274/ft1_filtered_4FGL_J1440.9+0609_daily_bin351.fits scfile=/scratch/kocevski/697274/ft2_4FGL_J1440.9+0609_daily_bin351.fits outfile=/scratch/kocevski/697274/cmap_330307201_330566401_4FGL_J1440.9+0609_daily_bin351.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.58
user 0.35
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/697274/ft1_filtered_4FGL_J1440.9+0609_daily_bin351.fits scfile=/scratch/kocevski/697274/ft2_4FGL_J1440.9+0609_daily_bin351.fits outfile=/scratch/kocevski/697274/cmap_HighResolution_330307201_330566401_4FGL_J1440.9+0609_daily_bin351.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.59
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11121E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11714E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    14.219       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9346       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.7336       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .67595       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.7849       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.263       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.689       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.7510       1.0000         .10000E-03   10000.    
    18 'norm      '    3.7161       1.0000         .10000E-03   10000.    
    19 'norm      '    .48075       1.0000         .10000E-03   10000.    
    20 'norm      '    3.8384       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.7870       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1028       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97689       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=   7291.342     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2565 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    44.396        .69113E-05** at limit **
   2  Prefactor     .10000E-03    9.7604       -.26871E-06** at limit **
   3  Prefactor     .10000E-03    75.180        .98775E-06** at limit **
   4  norm          14.218        12.053       -.73137E-07    .66675E-05
   5  Prefactor     9.9352        16.390       -.29215E-06    .22361E-04
   6  norm          .10000E-03    11.067       -.53994E-06** at limit **
   7  Prefactor     3.7374        8.4336       -.21532E-06    .74192E-04
   8  Prefactor     .66557        4.5397       -.73707E-06    .13854E-04
   9  Prefactor     .10000E-03    19.529       -.15632E-05** at limit **
  10  Prefactor     .10000E-03    27.408        .11512E-05** at limit **
  11  norm          8.7899        17.345        .11140E-05    .10313E-04
  12  Prefactor     14.274        25.339        .13035E-06    .26981E-04
  13  Prefactor     16.678        29.422        .17883E-06    .26929E-04
  14  Prefactor     .10000E-03    3.9225       -.12910E-06** at limit **
  15  Prefactor     .10000E-03    22.665       -.42021E-06** at limit **
  16  Prefactor     .10000E-03    13.091        .31894E-06** at limit **
  17  norm          1.7510        .32415        .10566E-07    .10681E-02
  18  norm          3.7159        2.8858       -.26470E-06   -.17941E-04
  19  norm          .48135        5.0484        .30178E-07    .13808E-03
  20  norm          3.8378        3.8488       -.17876E-06   -.27982E-04
  21  Prefactor     9.7344        62.904        .69049E-05    .19647E-04
  22  Normalizat    1.1027        .23608        .34684E-05    .99246E-04
  23  Prefactor     .97701        .13445       -.51511E-06    .55077E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.2183
  Prefactor  = 9.9352
  norm       = 0.0001
  Prefactor  = 3.73741
  Prefactor  = 0.66557
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.78986
  Prefactor  = 14.2735
  Prefactor  = 16.6778
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.75096
  norm       = 3.71589
  norm       = 0.481348
  norm       = 3.8378
  Prefactor  = 9.73441
  Normalizat = 1.10273
  Prefactor  = 0.977008
 **********
 **   18 **HESSE 
 **********

 FCN=   7291.342     FROM HESSE     STATUS=OK           378 CALLS     2943 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.460        .48784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.7926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    76.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          14.218        12.061        .10622E-03   -1.4954    
   5  Prefactor     9.9352        16.411        .12713E-03   -1.5077    
   6  norm          .10000E-03    11.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.7374        8.4366        .20897E-03   -1.5321    
   8  Prefactor     .66557        23.479        .32050E-02   -1.5545    
   9  Prefactor     .10000E-03    19.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.7899        17.302        .13524E-03   -1.5115    
  12  Prefactor     14.274        25.320        .10606E-03   -1.4952    
  13  Prefactor     16.678        29.482        .98040E-04   -1.4891    
  14  Prefactor     .10000E-03    3.9256        .16519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    22.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.7510        .32403        .19394E-04   -1.5443    
  18  norm          3.7159        2.8774        .11816E-03   -1.5322    
  19  norm          .48135        14.173        .36497E-02   -1.5569    
  20  norm          3.8378        3.8454        .15930E-03   -1.5316    
  21  Prefactor     9.7344        63.148        .12809E-03   -1.5084    
  22  Normalizat    1.1027        .27099        .32321E-03   -.89664    
  23  Prefactor     .97701        .15919        .20575E-03   -.93500    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18883e-10
Minuit parameter uncertainties:
  1  0.000393659
  2  1.96235e-05
  3  0.000217685
  4  12.0626
  5  16.4185
  6  2.2954e-05
  7  8.43929
  8  7.9089
  9  5.82959e-05
  10  9.18561e-05
  11  17.3115
  12  25.3393
  13  29.5074
  14  5.63655e-06
  15  4.40185e-05
  16  1.26437e-06
  17  0.324035
  18  2.87748
  19  5.22467
  20  3.84567
  21  49.663
  22  0.271334
  23  0.159263
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  9.186e-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.770e-01  1.593e-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.103e+00  2.713e-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.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/697274/likelihoodResults_330307201_330566401_4FGL_J1440.9+0609_daily_bin351.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) = 7291.341788
delta logL = -0.000174255778802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7291.06942561
delta logL = 0.272188129107

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34279       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8902       1.0000          .0000       10.000    
     3 'Normalizat'    1.0393       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99907       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=   7291.069     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      300 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34453        7.5234        .10611E-01    .18040E-02
   2  Index         3.8886        2.0954        .95830E-01    .19621E-03
   3  Normalizat    1.0395        .38976E-01    .74946E-01   -.26063E-04
   4  Prefactor     .99900        .23633E-01    .46255E-01   -.57137E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.344528
  Index      = 3.88865
  Normalizat = 1.03951
  Prefactor  = 0.999
 **********
 **   18 **HESSE 
 **********

 FCN=   7291.069     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      333 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34453        31.602        .66980E-04   -1.5591    
   2  Index         3.8886        6.9396        .54244E-02   -.22414    
   3  Normalizat    1.0395        .19862        .33168E-03   -.91718    
   4  Prefactor     .99900        .11838        .20369E-03   -.92763    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.38808e-06
Minuit parameter uncertainties:
  1  6.60201
  2  6.26384
  3  0.198757
  4  0.118406
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697274': 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) = 7291.06942433
delta logL = 0.272189414015

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  3.445e-01  6.602e+00  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  3.889e+00  6.264e+00  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.990e-01  1.184e-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.040e+00  1.988e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/697274/cmap_HighResolution_330307201_330566401_4FGL_J1440.9+0609_daily_bin351.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.05e-03', job_status='DONE', photon_flux_upper_limit='7.99e-08', time_completed='2021-09-10 05:05:00.762919', job_id='697274', GAL2='1.00', fit_tolerance='1e-08', EG2='1.04', EG='1.10', time_epoch_completed='1631275500.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.72e-01', ts2='0.59', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='351' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:05:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 697274: <4FGL_J1440.9+0609_daily_bin351> in cluster <slac> Done

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

Your job looked like:

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

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

