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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin844
RA = 220.242, Dec = 6.1631
tmin = 458092801, tmax = 458352001
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='700068', job_status='RUN', time_executed='2021-09-10 05:01:34.262431', time_epoch_executed='1631275294.26' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='844'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700068

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700068/ft1_4FGL_J1440.9+0609_daily_bin844.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700068/ft2_4FGL_J1440.9+0609_daily_bin844.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700068/ft1_4FGL_J1440.9+0609_daily_bin844.fits outfile=/scratch/kocevski/700068/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin844.fits ra=220.242 dec=6.1631 rad=12.0 tmin=458092801.0 tmax=458352001.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.57
user 3.34
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700068/ft1_filtered_4FGL_J1440.9+0609_daily_bin844.fits evtable="EVENTS" scfile=/scratch/kocevski/700068/ft2_4FGL_J1440.9+0609_daily_bin844.fits sctable="SC_DATA" expcube=/scratch/kocevski/700068/ltcube_458092801_458352001_4FGL_J1440.9+0609_daily_bin844.fits outfile=/scratch/kocevski/700068/expmap_458092801_458352001_4FGL_J1440.9+0609_daily_bin844.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/700068/ltcube_458092801_458352001_4FGL_J1440.9+0609_daily_bin844.fits
.....................!
real 192.43
user 187.64
sys 4.40

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 150 point sources and 0 extended sources

Setting source of interest to:
4FGL J1440.9+0609 @ 220.242 6.1631

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/700068/ft1_filtered_4FGL_J1440.9+0609_daily_bin844.fits scfile=/scratch/kocevski/700068/ft2_4FGL_J1440.9+0609_daily_bin844.fits outfile=/scratch/kocevski/700068/cmap_458092801_458352001_4FGL_J1440.9+0609_daily_bin844.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.36
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.5262       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7261       1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5161       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.438       1.0000         .10000E-03   10000.    
    11 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.109       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.1784       1.0000         .10000E-03   10000.    
    18 'norm      '    2.4176       1.0000         .10000E-03   10000.    
    19 'norm      '    5.3334       1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.719       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .65441       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1204       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=   9338.011     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2485 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2806        .14863E-07** at limit **
   2  Prefactor     .10000E-03    4.9812       -.79487E-07** at limit **
   3  Prefactor     .10000E-03    7.9239       -.18676E-06** at limit **
   4  norm          3.5258        9.2942       -.10180E-05   -.16914E-03
   5  Prefactor     5.7263        20.104       -.15813E-05   -.24421E-04
   6  norm          .10000E-03    7.8459        .81774E-06** at limit **
   7  Prefactor     .10000E-03    3.3851        .72589E-07** at limit **
   8  Prefactor     1.5155        5.6549       -.24433E-05   -.97010E-03
   9  Prefactor     .10000E-03    31.723        .19161E-05** at limit **
  10  Prefactor     17.423        23.934       -.59118E-05    .19293E-03
  11  norm          .10000E-03    19.318       -.88040E-05** at limit **
  12  Prefactor     .10000E-03    17.382        .90508E-05** at limit **
  13  Prefactor     .10000E-03    9.1959       -.77841E-06** at limit **
  14  Prefactor     .10000E-03    6.7013       -.34302E-07** at limit **
  15  Prefactor     22.087        33.480       -.21888E-04   -.53660E-04
  16  Prefactor     .10001E-03    62.983        .26147E-05** at limit **
  17  norm          6.1784        .44817        .21467E-07    .45590E-03
  18  norm          2.4175        2.1076       -.31192E-06   -.63704E-03
  19  norm          5.3333        5.4531       -.48182E-07    .39369E-04
  20  norm          .10000E-03    1.8355        .61334E-07** at limit **
  21  Prefactor     11.714        30.299       -.73773E-05   -.71542E-05
  22  Normalizat    .65430        .20428        .28684E-05    .59290E-04
  23  Prefactor     1.1204        .12380        .82960E-06    .80003E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.52581
  Prefactor  = 5.72633
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.51549
  Prefactor  = 0.0001
  Prefactor  = 17.4231
  norm       = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.087
  Prefactor  = 0.000100007
  norm       = 6.17838
  norm       = 2.41749
  norm       = 5.3333
  norm       = 0.0001
  Prefactor  = 11.7139
  Normalizat = 0.6543
  Prefactor  = 1.12045
 **********
 **   18 **HESSE 
 **********

 FCN=   9338.011     FROM HESSE     STATUS=OK           364 CALLS     2849 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2869        .17093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.9850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.9292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.5258        9.3015        .21528E-03   -1.5332    
   5  Prefactor     5.7263        20.136        .16786E-03   -1.5229    
   6  norm          .10000E-03    7.8485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4056        .17350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.5155        5.7912        .34717E-03   -1.5462    
   9  Prefactor     .10000E-03    31.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.423        23.641        .95913E-04   -1.4873    
  11  norm          .10000E-03    19.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.2153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.7110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.087        33.345        .85186E-04   -1.4768    
  16  Prefactor     .10001E-03    63.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.1784        .44840        .16655E-04   -1.5211    
  18  norm          2.4175        2.0991        .12388E-03   -1.5397    
  19  norm          5.3333        5.4551        .17403E-03   -1.5246    
  20  norm          .10000E-03    1.8722        .12776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.714        30.319        .11702E-03   -1.5023    
  22  Normalizat    .65430        .23158        .41199E-03   -1.0573    
  23  Prefactor     1.1204        .14188        .19983E-03   -.88816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78555e-09
Minuit parameter uncertainties:
  1  5.00204e-06
  2  6.98963e-06
  3  4.03037e-06
  4  9.30535
  5  20.1602
  6  2.56533e-06
  7  7.72443e-06
  8  5.79336
  9  2.59747e-05
  10  23.6541
  11  0.000415488
  12  0.000302378
  13  2.65847e-06
  14  6.21837e-05
  15  33.3731
  16  0.00133721
  17  0.448398
  18  2.09914
  19  5.45564
  20  1.72425e-06
  21  30.3587
  22  0.231929
  23  0.141932
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.742e+01  2.365e+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.120e+00  1.419e-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:  6.543e-01  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.92
Ra Dec: 220.242 6.163
Photon Flux Upper Limit: 8.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/700068/likelihoodResults_458092801_458352001_4FGL_J1440.9+0609_daily_bin844.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) = 9337.65293945
delta logL = 0.358000333626

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9337.63493853
delta logL = 0.376001259378

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3661       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3337       1.0000          .0000       10.000    
     3 'Normalizat'    .58353       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1473       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=   9337.635     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      313 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3662        38.772        .66598E-02    .13470E-02
   2  Index         3.3340        2.2797        .81887E-01    .24778E-03
   3  Normalizat    .58351        .58427E-01    .98030E-01    .43579E-04
   4  Prefactor     1.1474        .34636E-01    .36014E-01    .28974E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.36617
  Index      = 3.334
  Normalizat = 0.583512
  Prefactor  = 1.14739
 **********
 **   18 **HESSE 
 **********

 FCN=   9337.635     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      346 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3662        75.897        .11801E-03   -1.5400    
   2  Index         3.3340        3.6821        .47704E-02   -.33970    
   3  Normalizat    .58351        .20877        .43458E-03   -1.0869    
   4  Prefactor     1.1474        .12117        .19773E-03   -.87966    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.12382e-06
Minuit parameter uncertainties:
  1  26.8385
  2  4.22563
  3  0.209056
  4  0.121201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700068': 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) = 9337.63493725
delta logL = 0.376002533014

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  2.366e+00  2.684e+01  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  3.334e+00  4.226e+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:  1.147e+00  1.212e-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:  5.835e-01  2.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.77
Ra Dec: 220.242 6.163
Photon Index (Free Index): 3.33 +/- 4.23
Photon Flux (Free Index): 6.93e-08 +/- 8.84e-08
Energy Flux (Free Index): 1.21e-05 +/- 1.08e-05

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/700068/cmap_HighResolution_458092801_458352001_4FGL_J1440.9+0609_daily_bin844.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.50e-03', comment='SUCCESS', energy_flux2='1.21e-05', dlogl='3.76e-01', photon_flux2='6.93e-08', job_status='DONE', time_completed='2021-09-10 05:13:53.894992', photon_index_error2='4.23', photon_index2='3.33', ts='0.92', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='8.59e-08', energy_flux_error2='1.08e-05', EG='0.65', time_epoch_completed='1631276033.9', return_code='0', job_id='700068', GAL2='1.15', EG2='0.58', return_code2='102', photon_flux_error2='8.84e-08', ts2='1.77', photon_index='2.12' WHERE bin_id='844' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:13:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 700068: <4FGL_J1440.9+0609_daily_bin844> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin844 220.242 6.1631 458092801 458352001 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 :                                   738.24 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             366.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            758 sec.

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

