aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 105 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 = 17484
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1440.9+0609_weekly_bin717
RA = 220.242, Dec = 6.1631
tmin = 672624001, tmax = 673228801
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='374622', job_status='RUN', time_executed='2022-05-03 01:30:48.232373', time_epoch_executed='1651566648.23' WHERE source_name='4FGL J1440.9+0609' and cadence='weekly' and bin_id='717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/374622

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/374622/ft1_4FGL_J1440.9+0609_weekly_bin717.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/374622/ft2_4FGL_J1440.9+0609_weekly_bin717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/374622/ft1_4FGL_J1440.9+0609_weekly_bin717.fits outfile=/scratch/kocevski/374622/ft1_filteredMKT_4FGL_J1440.9+0609_weekly_bin717.fits ra=220.242 dec=6.1631 rad=12.0 tmin=672624001.0 tmax=673228801.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 5.29
user 4.99
sys 0.27

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

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

Number of photons that the gtmktime cut: 341

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/374622/ft1_filtered_4FGL_J1440.9+0609_weekly_bin717.fits" evtable="EVENTS" scfile=/scratch/kocevski/374622/ft2_4FGL_J1440.9+0609_weekly_bin717.fits sctable="SC_DATA" outfile=/scratch/kocevski/374622/ltcube_672624001_673228801_4FGL_J1440.9+0609_weekly_bin717.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/374622/ft2_4FGL_J1440.9+0609_weekly_bin717.fits
.....................!
real 27.99
user 27.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/374622/ft1_filtered_4FGL_J1440.9+0609_weekly_bin717.fits evtable="EVENTS" scfile=/scratch/kocevski/374622/ft2_4FGL_J1440.9+0609_weekly_bin717.fits sctable="SC_DATA" expcube=/scratch/kocevski/374622/ltcube_672624001_673228801_4FGL_J1440.9+0609_weekly_bin717.fits outfile=/scratch/kocevski/374622/expmap_672624001_673228801_4FGL_J1440.9+0609_weekly_bin717.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/374622/ltcube_672624001_673228801_4FGL_J1440.9+0609_weekly_bin717.fits
.....................!
real 157.05
user 152.26
sys 4.42

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/374622/ft1_filtered_4FGL_J1440.9+0609_weekly_bin717.fits scfile=/scratch/kocevski/374622/ft2_4FGL_J1440.9+0609_weekly_bin717.fits outfile=/scratch/kocevski/374622/cmap_672624001_673228801_4FGL_J1440.9+0609_weekly_bin717.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.50
user 0.34
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/374622/ft1_filtered_4FGL_J1440.9+0609_weekly_bin717.fits scfile=/scratch/kocevski/374622/ft2_4FGL_J1440.9+0609_weekly_bin717.fits outfile=/scratch/kocevski/374622/cmap_HighResolution_672624001_673228801_4FGL_J1440.9+0609_weekly_bin717.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.51
user 0.35
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.492       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11190E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    178.71       1.0000         .10000E-03   10000.    
     4 'norm      '    6.7369       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    57.459       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4693       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4605       1.0000         .10000E-03   10000.    
     9 'Prefactor '    58.649       1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.015       1.0000         .10000E-03   10000.    
    11 'norm      '    .10596E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    104.48       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.529       1.0000         .10000E-03   10000.    
    15 'Prefactor '    34.943       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.706       1.0000         .10000E-03   10000.    
    17 'norm      '    .26644       1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    198.60       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2965       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=   4257.346     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2596 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.431        41.092       -.26903E-05   -.11890E-03
   2  Prefactor     .10001E-03    29.133       -.97161E-06** at limit **
   3  Prefactor     178.75        46.610       -.76205E-06   -.59168E-04
   4  norm          6.6373        151.50       -.23430E-05   -.13478E-04
   5  Prefactor     .10000E-03    13.156       -.57256E-07** at limit **
   6  norm          57.460        40.637       -.62936E-07   -.37424E-04
   7  Prefactor     1.4696        3.3532        .13066E-06   -.61354E-03
   8  Prefactor     1.4611        3.4448        .48870E-07   -.59515E-03
   9  Prefactor     58.731        184.06        .11362E-05   -.32753E-05
  10  Prefactor     28.005        53.485        .19797E-06   -.88097E-04
  11  norm          .10000E-03    27.901        .89321E-07** at limit **
  12  Prefactor     .10000E-03    6.1500        .10798E-06** at limit **
  13  Prefactor     104.51        48.867       -.67791E-06   -.10609E-04
  14  Prefactor     20.539        20.936       -.65696E-06   -.11725E-03
  15  Prefactor     34.964        33.858       -.33008E-06   -.31467E-04
  16  Prefactor     10.699        76.573       -.56709E-06   -.58864E-04
  17  norm          .26669        .25984        .44407E-07   -.59381E-02
  18  norm          .10000E-03    11.779        .78718E-06** at limit **
  19  norm          .10000E-03    3.0558        .30045E-07** at limit **
  20  norm          .10000E-03    8.5310        .26910E-06** at limit **
  21  Prefactor     198.67        136.88       -.23294E-06    .47554E-04
  22  Normalizat    .10000E-01    .12776        .27558E-04** at limit **
  23  Prefactor     1.2965        .12721       -.46701E-05   -.16476E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.431
  Prefactor  = 0.000100008
  Prefactor  = 178.745
  norm       = 6.63734
  Prefactor  = 0.0001
  norm       = 57.4599
  Prefactor  = 1.46957
  Prefactor  = 1.46114
  Prefactor  = 58.7308
  Prefactor  = 28.0048
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 104.508
  Prefactor  = 20.5387
  Prefactor  = 34.9636
  Prefactor  = 10.6987
  norm       = 0.266693
  norm       = 0.000100003
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 198.669
  Normalizat = 0.01
  Prefactor  = 1.29647
 **********
 **   18 **HESSE 
 **********

 FCN=   4257.346     FROM HESSE     STATUS=OK           368 CALLS     2964 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.431        41.346        .10176E-03   -1.4922    
   2  Prefactor     .10001E-03    29.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     178.75        46.761        .15096E-03   -1.3026    
   4  norm          6.6373        153.71        .15459E-03   -1.5193    
   5  Prefactor     .10000E-03    13.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          57.460        40.649        .52924E-04   -1.4190    
   7  Prefactor     1.4696        3.2952        .17403E-03   -1.5466    
   8  Prefactor     1.4611        3.3950        .17787E-03   -1.5466    
   9  Prefactor     58.731        184.27        .26194E-03   -1.4174    
  10  Prefactor     28.005        53.493        .75691E-04   -1.4649    
  11  norm          .10000E-03    27.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.1564        .15802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     104.51        48.710        .19670E-03   -1.3660    
  14  Prefactor     20.539        20.934        .88400E-04   -1.4801    
  15  Prefactor     34.964        33.675        .67793E-04   -1.4525    
  16  Prefactor     10.699        75.423        .12245E-03   -1.5054    
  17  norm          .26669        .24807        .28999E-04   -1.5605    
  18  norm          .10000E-03    12.072        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.0579        .11139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    8.5505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     198.67        137.27        .14335E-03   -1.2880    
  22  Normalizat    .10000E-01    1.1727        .11533E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.2965        .13110        .18201E-03   -.83412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47236e-09
Minuit parameter uncertainties:
  1  41.4227
  2  0.000960873
  3  46.771
  4  64.067
  5  9.57269e-05
  6  40.6689
  7  3.29566
  8  3.39546
  9  186.106
  10  53.5851
  11  0.000164141
  12  4.06709e-05
  13  48.7286
  14  20.9414
  15  33.6935
  16  56.915
  17  0.248069
  18  0.00040086
  19  1.77245e-06
  20  7.63609e-05
  21  137.489
  22  3.24356e-05
  23  0.131134
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.800e+01  5.359e+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.296e+00  1.311e-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.000e-02  3.244e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 220.242 6.163
Photon Flux Upper Limit: 1.70e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.29e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/374622/likelihoodResults_672624001_673228801_4FGL_J1440.9+0609_weekly_bin717.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): 0
logL (Free Index) = 4257.20536662
delta logL = 0.141019036448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4257.20268977
delta logL = 0.143695887226

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    53.970       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6858       1.0000          .0000       10.000    
     3 'Normalizat'    .10014E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2963       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=   4257.203     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      274 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     54.246        6867.5        .13650E-02   -.13993E-05
   2  Index         1.6893        6.0185        .16171        .36430E-04
   3  Normalizat    .10000E-01    .76156E-01    .32094    ** at limit **
   4  Prefactor     1.2961        .84061E-01    .32675E-01   -.16441E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 54.2461
  Index      = 1.68933
  Normalizat = 0.01
  Prefactor  = 1.29607
 **********
 **   18 **HESSE 
 **********

 FCN=   4257.203     FROM HESSE     STATUS=OK            31 CALLS      305 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     54.246        83.897        .54598E-04   -1.4234    
   2  Index         1.6893        .74633        .10207E-01   -.72366    
   3  Normalizat    .10000E-01    1.4287        .11640E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2961        .98043E-01    .18200E-03   -.83424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0611e-09
Minuit parameter uncertainties:
  1  84.0804
  2  0.751358
  3  3.4446e-06
  4  0.0980568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/374622': 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) = 4257.20266354
delta logL = 0.143722110632

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  5.425e+01  8.408e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  1.689e+00  7.514e-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.296e+00  9.806e-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.000e-02  3.445e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
Ra Dec: 220.242 6.163

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/374622/cmap_HighResolution_672624001_673228801_4FGL_J1440.9+0609_weekly_bin717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', job_status='DONE', photon_flux_upper_limit='1.70e-07', time_completed='2022-05-03 01:38:09.838963', job_id='374622', GAL2='1.30', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1651567089.84', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='1.44e-01', ts2='0.63', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='717' AND source_name='4FGL J1440.9+0609' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May  3 01:38:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0247>
Subject: Job 374622: <4FGL_J1440.9+0609_weekly_bin717> in cluster <slac> Done

Job <4FGL_J1440.9+0609_weekly_bin717> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue May  3 01:25:32 2022
Job was executed on host(s) <bullet0247>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 01:28:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 01:28:56 2022
Terminated at Tue May  3 01:38:10 2022
Results reported at Tue May  3 01:38:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_weekly_bin717 220.242 6.1631 672624001 673228801 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 :                                   441.55 sec.
    Max Memory :                                 629 MB
    Average Memory :                             247.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2934 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   554 sec.
    Turnaround time :                            758 sec.

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

