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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin1225
RA = 169.766, Dec = 12.5866
tmin = 556848001, tmax = 557107201
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='668267', job_status='RUN', time_executed='2021-09-03 15:58:59.203199', time_epoch_executed='1630709939.2' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='1225'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668267

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668267/ft1_4FGL_J1119.0+1235_daily_bin1225.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668267/ft2_4FGL_J1119.0+1235_daily_bin1225.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668267/ft1_4FGL_J1119.0+1235_daily_bin1225.fits outfile=/scratch/kocevski/668267/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1225.fits ra=169.766 dec=12.5866 rad=12.0 tmin=556848001.0 tmax=557107201.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.63
user 3.40
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/668267/ft2_4FGL_J1119.0+1235_daily_bin1225.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/668267/ft2_4FGL_J1119.0+1235_daily_bin1225.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/668267/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1225.fits evtable="EVENTS" outfile="/scratch/kocevski/668267/ft1_filtered_4FGL_J1119.0+1235_daily_bin1225.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.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668267/ft1_filtered_4FGL_J1119.0+1235_daily_bin1225.fits" evtable="EVENTS" scfile=/scratch/kocevski/668267/ft2_4FGL_J1119.0+1235_daily_bin1225.fits sctable="SC_DATA" outfile=/scratch/kocevski/668267/ltcube_556848001_557107201_4FGL_J1119.0+1235_daily_bin1225.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/668267/ft2_4FGL_J1119.0+1235_daily_bin1225.fits
.....................!
real 17.34
user 16.78
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668267/ft1_filtered_4FGL_J1119.0+1235_daily_bin1225.fits evtable="EVENTS" scfile=/scratch/kocevski/668267/ft2_4FGL_J1119.0+1235_daily_bin1225.fits sctable="SC_DATA" expcube=/scratch/kocevski/668267/ltcube_556848001_557107201_4FGL_J1119.0+1235_daily_bin1225.fits outfile=/scratch/kocevski/668267/expmap_556848001_557107201_4FGL_J1119.0+1235_daily_bin1225.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/668267/ltcube_556848001_557107201_4FGL_J1119.0+1235_daily_bin1225.fits
.....................!
real 193.38
user 188.55
sys 4.36

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 189 point sources and 0 extended sources

Setting source of interest to:
4FGL J1119.0+1235 @ 169.766 12.5866

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/668267/ft1_filtered_4FGL_J1119.0+1235_daily_bin1225.fits scfile=/scratch/kocevski/668267/ft2_4FGL_J1119.0+1235_daily_bin1225.fits outfile=/scratch/kocevski/668267/cmap_556848001_557107201_4FGL_J1119.0+1235_daily_bin1225.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=169.766 yref=12.5866 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668267/ft1_filtered_4FGL_J1119.0+1235_daily_bin1225.fits scfile=/scratch/kocevski/668267/ft2_4FGL_J1119.0+1235_daily_bin1225.fits outfile=/scratch/kocevski/668267/cmap_HighResolution_556848001_557107201_4FGL_J1119.0+1235_daily_bin1225.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=169.766 yref=12.5866 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/668267/ft1_filtered_4FGL_J1119.0+1235_daily_bin1225.fits evtable="EVENTS" scfile=/scratch/kocevski/668267/ft2_4FGL_J1119.0+1235_daily_bin1225.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/668267/Model_4FGL_J1119.0+1235_daily_bin1225.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/668267/ft1_filtered_4FGL_J1119.0+1235_daily_bin1225.fits......................!
real 18.34
user 16.62
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/668267/ft1_filtered_4FGL_J1119.0+1235_daily_bin1225.fits', '/scratch/kocevski/668267/ft2_4FGL_J1119.0+1235_daily_bin1225.fits', expMap='/scratch/kocevski/668267/expmap_556848001_557107201_4FGL_J1119.0+1235_daily_bin1225.fits', expCube='/scratch/kocevski/668267/ltcube_556848001_557107201_4FGL_J1119.0+1235_daily_bin1225.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/668267/Model_4FGL_J1119.0+1235_daily_bin1225.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1119.0+1235'

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  3.793e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  2.405e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
289         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
290           Eb:  5.376e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/668267/ft1_filtered_4FGL_J1119.0+1235_daily_bin1225.fits
Spacecraft file(s): /scratch/kocevski/668267/ft2_4FGL_J1119.0+1235_daily_bin1225.fits
Exposure map: /scratch/kocevski/668267/expmap_556848001_557107201_4FGL_J1119.0+1235_daily_bin1225.fits
Exposure cube: /scratch/kocevski/668267/ltcube_556848001_557107201_4FGL_J1119.0+1235_daily_bin1225.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/668267/Model_4FGL_J1119.0+1235_daily_bin1225.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) = 553.710938434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     5 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10620E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9999.8       1.0000         .10000E-03   10000.    
     8 'norm      '    .10368E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    41.182       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17665E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .11912E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .24852E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.968       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    94.560       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    45.072       1.0000         .10000E-03   10000.    
    18 'Prefactor '    414.69       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .10008E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   543.7540     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     2094 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    49.246       -.44680E-06** at limit **
   2  Prefactor    10000.0        1995.1       -.74701E-05** at limit **
   3  Prefactor     .10000E-03    85.266       -.27259E-06** at limit **
   4  Prefactor    10000.0        6390.1       -.48653E-05** at limit **
   5  Prefactor    10000.0        7068.3        .84435E-07** at limit **
   6  Prefactor     .10000E-03    75.756       -.18425E-06** at limit **
   7  Prefactor    10000.0        7558.3        .70644E-05** at limit **
   8  norm          .10000E-03    33.712        .40583E-07** at limit **
   9  Prefactor     41.183        225.63       -.58376E-05   -.37347E-04
  10  Prefactor     .10000E-03    168.97        .77449E-08** at limit **
  11  norm          .10000E-03    41.696        .46271E-07** at limit **
  12  Prefactor     .10000E-03    82.788        .33758E-07** at limit **
  13  Prefactor     11.177        668.47       -.63122E-06   -.16131E-04
  14  Prefactor     .10000E-03    47.652        .22998E-06** at limit **
  15  Prefactor     94.760        279.94       -.22855E-05   -.42150E-04
  16  Prefactor     .10000E-03    23.299        .83035E-06** at limit **
  17  Prefactor     45.057        74.956       -.72300E-06   -.10653E-03
  18  Prefactor     414.73        368.64       -.15833E-05   -.62721E-04
  19  Normalizat    .10000E-01    .70789        .57627E-04** at limit **
  20  Prefactor     1.4039        .35022       -.95919E-05   -.24343E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100001
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 41.1833
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.1773
  Prefactor  = 0.000100001
  Prefactor  = 94.7596
  Prefactor  = 0.000100001
  Prefactor  = 45.0568
  Prefactor  = 414.728
  Normalizat = 0.01
  Prefactor  = 1.40385
 **********
 **   18 **HESSE 
 **********

 FCN=   543.7540     FROM HESSE     STATUS=OK           273 CALLS     2367 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.240        .15999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        1995.2        .20594E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    85.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor    10000.0        6390.1        .20369E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor    10000.0        7068.3        .18441E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    75.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor    10000.0        7558.5        .19848E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    33.715        .13235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     41.183        228.45        .62465E-04   -1.4424    
  10  Prefactor     .10000E-03    168.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    41.696        .14721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    82.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.177        668.26        .12097E-03   -1.5039    
  14  Prefactor     .10000E-03    47.781        .15743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     94.760        281.56        .20665E-03   -1.3758    
  16  Prefactor     .10000E-03    23.305        .10993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     45.057        75.011        .59719E-04   -1.4364    
  18  Prefactor     414.73        368.79        .10031E-03   -1.1606    
  19  Normalizat    .10000E-01    1.0876        .11399E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.4039        .37173        .21178E-03   -.80269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79701e-09
Minuit parameter uncertainties:
  1  0.0002853
  2  0.033795
  3  7.95375e-05
  4  0.0262046
  5  0.00109169
  6  0.0005785
  7  0.057547
  8  1.88031e-06
  9  195.151
  10  6.74274e-05
  11  5.68301e-05
  12  7.05178e-05
  13  174.938
  14  0.000434223
  15  285.677
  16  0.000227739
  17  75.1686
  18  370.921
  19  7.40344e-05
  20  0.372447
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.000e-04  5.683e-05  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  2.405e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
289         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
290           Eb:  5.376e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.404e+00  3.724e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.000e-02  7.403e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 169.766 12.587
Photon Flux Upper Limit: 6.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.11e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/668267/likelihoodResults_556848001_557107201_4FGL_J1119.0+1235_daily_bin1225.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) = 543.754065869
delta logL = -0.00010798094911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 543.753960577
delta logL = -2.68893063549e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7749       1.0000          .0000       5.0000    
     3 'Normalizat'    .10002E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+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=   543.7540     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      287 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1060.7        .95522E-02** at limit **
   2  alpha         2.0277        3.0847        .50000        .81741E-08
   3  Normalizat    .10000E-01    .58979E-01    .11406E-01** at limit **
   4  Prefactor     1.4039        .73936E-01    .21178E-03    .15051E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.02771
  Normalizat = 0.01
  Prefactor  = 1.40386
 **********
 **   18 **HESSE 
 **********

 FCN=   543.7540     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      314 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8569.5        .15131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0277        3.4121        .20000       -.19006    
   3  Normalizat    .10000E-01    .92607        .22812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4039        .29670        .84712E-05   -.80269    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.9785e-08
Minuit parameter uncertainties:
  1  0.00773552
  2  15766.9
  3  3.06561e-06
  4  0.297057
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668267': 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) = 543.753957823
delta logL = 6.48232116873e-08

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.000e-04  7.736e-03  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  2.028e+00  1.577e+04  0.000e+00  5.000e+00 ( 1.000e+00)
289         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
290           Eb:  5.376e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.404e+00  2.971e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.000e-02  3.066e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 169.766 12.587

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/668267/cmap_HighResolution_556848001_557107201_4FGL_J1119.0+1235_daily_bin1225.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-04', job_status='DONE', photon_flux_upper_limit='6.99e-07', time_completed='2021-09-03 16:05:01.678119', job_id='668267', GAL2='1.40', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630710301.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.40', dlogl='6.48e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1225' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:05:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 668267: <4FGL_J1119.0+1235_daily_bin1225> in cluster <slac> Done

Job <4FGL_J1119.0+1235_daily_bin1225> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 15:56:04 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 15:56:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 15:56:26 2021
Terminated at Fri Sep  3 16:05:02 2021
Results reported at Fri Sep  3 16:05:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin1225 169.766 12.5866 556848001 557107201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1119.0+1235 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   359.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   516 sec.
    Turnaround time :                            538 sec.

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

