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


Performing analysis on: 4FGL_J1440.9+0609_daily_bin952
RA = 220.242, Dec = 6.1631
tmin = 486086401, tmax = 486345601
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='700236', job_status='RUN', time_executed='2021-09-10 05:03:58.757514', time_epoch_executed='1631275438.76' WHERE source_name='4FGL J1440.9+0609' and cadence='daily' and bin_id='952'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700236

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700236/ft1_4FGL_J1440.9+0609_daily_bin952.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700236/ft2_4FGL_J1440.9+0609_daily_bin952.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700236/ft1_4FGL_J1440.9+0609_daily_bin952.fits outfile=/scratch/kocevski/700236/ft1_filteredMKT_4FGL_J1440.9+0609_daily_bin952.fits ra=220.242 dec=6.1631 rad=12.0 tmin=486086401.0 tmax=486345601.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.77
user 3.55
sys 0.19

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700236/ft1_filtered_4FGL_J1440.9+0609_daily_bin952.fits evtable="EVENTS" scfile=/scratch/kocevski/700236/ft2_4FGL_J1440.9+0609_daily_bin952.fits sctable="SC_DATA" expcube=/scratch/kocevski/700236/ltcube_486086401_486345601_4FGL_J1440.9+0609_daily_bin952.fits outfile=/scratch/kocevski/700236/expmap_486086401_486345601_4FGL_J1440.9+0609_daily_bin952.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/700236/ltcube_486086401_486345601_4FGL_J1440.9+0609_daily_bin952.fits
.....................!
real 192.03
user 186.44
sys 5.24

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/700236/ft1_filtered_4FGL_J1440.9+0609_daily_bin952.fits scfile=/scratch/kocevski/700236/ft2_4FGL_J1440.9+0609_daily_bin952.fits outfile=/scratch/kocevski/700236/cmap_486086401_486345601_4FGL_J1440.9+0609_daily_bin952.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700236/ft1_filtered_4FGL_J1440.9+0609_daily_bin952.fits scfile=/scratch/kocevski/700236/ft2_4FGL_J1440.9+0609_daily_bin952.fits outfile=/scratch/kocevski/700236/cmap_HighResolution_486086401_486345601_4FGL_J1440.9+0609_daily_bin952.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/700236/ft1_filtered_4FGL_J1440.9+0609_daily_bin952.fits evtable="EVENTS" scfile=/scratch/kocevski/700236/ft2_4FGL_J1440.9+0609_daily_bin952.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/700236/Model_4FGL_J1440.9+0609_daily_bin952.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/700236/ft1_filtered_4FGL_J1440.9+0609_daily_bin952.fits.....................!
real 56.88
user 55.39
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20050E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10245E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.935       1.0000         .10000E-03   10000.    
     6 'norm      '    .11548E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .49025       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.6357       1.0000         .10000E-03   10000.    
     9 'Prefactor '    44.131       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.643       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.853       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.004       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .20591E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .99770       1.0000         .10000E-03   10000.    
    18 'norm      '    2.5959       1.0000         .10000E-03   10000.    
    19 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .27168E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.124       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2227       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .86343       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=   7495.262     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2621 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2065        .19577E-06** at limit **
   2  Prefactor     .10000E-03    8.0109        .17647E-06** at limit **
   3  Prefactor     .10004E-03    16.257       -.52404E-06** at limit **
   4  norm          .10000E-03    3.7475        .53562E-07** at limit **
   5  Prefactor     36.924        23.323       -.31572E-06   -.59657E-04
   6  norm          .10000E-03    7.3026       -.36421E-06** at limit **
   7  Prefactor     .48009        13.872        .21844E-05    .13012E-03
   8  Prefactor     9.6350        7.5508        .85496E-07    .67049E-05
   9  Prefactor     44.123        49.411        .39181E-06   -.20674E-05
  10  Prefactor     .10000E-03    11.582        .36688E-07** at limit **
  11  norm          .10000E-03    8.1637       -.11938E-06** at limit **
  12  Prefactor     17.623        31.684       -.20741E-06   -.13285E-04
  13  Prefactor     .10000E-03    9.0089        .19599E-06** at limit **
  14  Prefactor     12.850        14.948       -.90873E-06   -.20077E-04
  15  Prefactor     13.029        23.480       -.28968E-05    .15323E-04
  16  Prefactor     .10223E-03    50.432       -.29211E-05** at limit **
  17  norm          .99757        .23645       -.13582E-07   -.33974E-03
  18  norm          2.5943        2.6806        .57368E-07   -.86845E-04
  19  norm          .10000E-03    2.7884        .51053E-07** at limit **
  20  norm          .10000E-03    1.8388        .14195E-06** at limit **
  21  Prefactor     16.124        20.655        .85193E-07   -.54092E-05
  22  Normalizat    1.2238        .20759       -.13515E-06   -.19738E-03
  23  Prefactor     .86286        .11929       -.94423E-06   -.14980E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100036
  norm       = 0.0001
  Prefactor  = 36.9244
  norm       = 0.0001
  Prefactor  = 0.48009
  Prefactor  = 9.63501
  Prefactor  = 44.1233
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.6229
  Prefactor  = 0.0001
  Prefactor  = 12.8497
  Prefactor  = 13.0293
  Prefactor  = 0.000102233
  norm       = 0.997575
  norm       = 2.59434
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 16.1242
  Normalizat = 1.22378
  Prefactor  = 0.862861
 **********
 **   18 **HESSE 
 **********

 FCN=   7495.262     FROM HESSE     STATUS=OK           392 CALLS     3013 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.384        .41694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.0302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10004E-03    72.447        .56846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.7519        .16369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.924        23.350        .65945E-04   -1.4492    
   6  norm          .10000E-03    7.3051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .48009        3.5849        .84626E-01   -1.5569    
   8  Prefactor     9.6350        7.6872        .12910E-03   -1.5087    
   9  Prefactor     44.123        49.440        .60350E-04   -1.4378    
  10  Prefactor     .10000E-03    11.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    8.1969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.623        31.613        .95353E-04   -1.4868    
  13  Prefactor     .10000E-03    9.0298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.850        14.933        .11173E-03   -1.4991    
  15  Prefactor     13.029        23.672        .11108E-03   -1.4986    
  16  Prefactor     .10223E-03    27.880        .14629       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .99757        .23629        .19545E-04   -1.5508    
  18  norm          2.5943        2.6170        .13086E-03   -1.5386    
  19  norm          .10000E-03    2.7952        .14119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    7.7990        .22224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.124        20.648        .99744E-04   -1.4905    
  22  Normalizat    1.2238        .24676        .29389E-03   -.85871    
  23  Prefactor     .86286        .13994        .20435E-03   -.97451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64832e-09
Minuit parameter uncertainties:
  1  0.000201263
  2  1.30555e-05
  3  0.00321627
  4  2.18113e-06
  5  23.3563
  6  9.62015e-07
  7  2.62374
  8  7.68798
  9  49.486
  10  9.06096e-06
  11  1.7418e-06
  12  31.6425
  13  1.2992e-05
  14  14.937
  15  23.6893
  16  0.0157875
  17  0.236294
  18  2.61716
  19  2.56663e-06
  20  9.33151e-06
  21  20.6567
  22  0.246994
  23  0.139997
Done.

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

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  9.061e-06  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:  8.629e-01  1.400e-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.224e+00  2.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/700236/likelihoodResults_486086401_486345601_4FGL_J1440.9+0609_daily_bin952.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) = 7495.26218751
delta logL = -0.000410408060816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7495.2617771
delta logL = 6.5665517468e-10

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7495.262     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      242 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10099E-03    56.788        .18142E-02** at limit **
   2  Index         2.0369        5.6176        .50000        .19624E-04
   3  Normalizat    1.2238        .10644E-01    .29389E-03   -.59109E-04
   4  Prefactor     .86286        .63719E-02    .20435E-03    .94965E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100987
  Index      = 2.03686
  Normalizat = 1.22378
  Prefactor  = 0.862861
 **********
 **   18 **HESSE 
 **********

 FCN=   7495.262     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10099E-03    257.31        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0369        8.7705        .50000       -.63432    
   3  Normalizat    1.2238        .23114E-01    .11756E-04   -.85871    
   4  Prefactor     .86286        .13837E-01    .81741E-05   -.97451    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.56111e-09
Minuit parameter uncertainties:
  1  0.0320172
  2  267.805
  3  0.0231146
  4  0.0138366
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700236': 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) = 7495.26177668
delta logL = 4.18192939833e-07

Extracting fit parameters...

4FGL J1440.9+0609
   Spectrum: PowerLaw
226    Prefactor:  1.010e-04  3.202e-02  1.000e-04  1.000e+04 ( 1.000e-14)
227        Index:  2.037e+00  2.678e+02  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:  8.629e-01  1.384e-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.224e+00  2.311e-02  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/700236/cmap_HighResolution_486086401_486345601_4FGL_J1440.9+0609_daily_bin952.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.80e-03', job_status='DONE', photon_flux_upper_limit='5.02e-08', time_completed='2021-09-10 05:14:47.350099', job_id='700236', GAL2='0.86', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1631276087.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='4.18e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='952' AND source_name='4FGL J1440.9+0609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:14:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 700236: <4FGL_J1440.9+0609_daily_bin952> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1440.9+0609_daily_bin952 220.242 6.1631 486086401 486345601 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 :                                   648.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             265.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            796 sec.

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

