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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin1025
RA = 169.766, Dec = 12.5866
tmin = 505008001, tmax = 505267201
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='666500', job_status='RUN', time_executed='2021-09-03 15:56:28.771205', time_epoch_executed='1630709788.77' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='1025'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666500

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666500/ft1_4FGL_J1119.0+1235_daily_bin1025.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666500/ft2_4FGL_J1119.0+1235_daily_bin1025.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666500/ft1_4FGL_J1119.0+1235_daily_bin1025.fits outfile=/scratch/kocevski/666500/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1025.fits ra=169.766 dec=12.5866 rad=12.0 tmin=505008001.0 tmax=505267201.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 4.51
user 4.28
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/666500/ft2_4FGL_J1119.0+1235_daily_bin1025.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/666500/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1025.fits evtable="EVENTS" outfile="/scratch/kocevski/666500/ft1_filtered_4FGL_J1119.0+1235_daily_bin1025.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.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666500/ft1_filtered_4FGL_J1119.0+1235_daily_bin1025.fits" evtable="EVENTS" scfile=/scratch/kocevski/666500/ft2_4FGL_J1119.0+1235_daily_bin1025.fits sctable="SC_DATA" outfile=/scratch/kocevski/666500/ltcube_505008001_505267201_4FGL_J1119.0+1235_daily_bin1025.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/666500/ft2_4FGL_J1119.0+1235_daily_bin1025.fits
.....................!
real 14.64
user 14.29
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666500/ft1_filtered_4FGL_J1119.0+1235_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/666500/ft2_4FGL_J1119.0+1235_daily_bin1025.fits sctable="SC_DATA" expcube=/scratch/kocevski/666500/ltcube_505008001_505267201_4FGL_J1119.0+1235_daily_bin1025.fits outfile=/scratch/kocevski/666500/expmap_505008001_505267201_4FGL_J1119.0+1235_daily_bin1025.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/666500/ltcube_505008001_505267201_4FGL_J1119.0+1235_daily_bin1025.fits
.....................!
real 191.33
user 186.26
sys 4.67

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/666500/ft1_filtered_4FGL_J1119.0+1235_daily_bin1025.fits scfile=/scratch/kocevski/666500/ft2_4FGL_J1119.0+1235_daily_bin1025.fits outfile=/scratch/kocevski/666500/cmap_505008001_505267201_4FGL_J1119.0+1235_daily_bin1025.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666500/ft1_filtered_4FGL_J1119.0+1235_daily_bin1025.fits scfile=/scratch/kocevski/666500/ft2_4FGL_J1119.0+1235_daily_bin1025.fits outfile=/scratch/kocevski/666500/cmap_HighResolution_505008001_505267201_4FGL_J1119.0+1235_daily_bin1025.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.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/666500/ft1_filtered_4FGL_J1119.0+1235_daily_bin1025.fits', '/scratch/kocevski/666500/ft2_4FGL_J1119.0+1235_daily_bin1025.fits', expMap='/scratch/kocevski/666500/expmap_505008001_505267201_4FGL_J1119.0+1235_daily_bin1025.fits', expCube='/scratch/kocevski/666500/ltcube_505008001_505267201_4FGL_J1119.0+1235_daily_bin1025.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/666500/Model_4FGL_J1119.0+1235_daily_bin1025.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/666500/ft1_filtered_4FGL_J1119.0+1235_daily_bin1025.fits
Spacecraft file(s): /scratch/kocevski/666500/ft2_4FGL_J1119.0+1235_daily_bin1025.fits
Exposure map: /scratch/kocevski/666500/expmap_505008001_505267201_4FGL_J1119.0+1235_daily_bin1025.fits
Exposure cube: /scratch/kocevski/666500/ltcube_505008001_505267201_4FGL_J1119.0+1235_daily_bin1025.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/666500/Model_4FGL_J1119.0+1235_daily_bin1025.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) = 6114.87294975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.515       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.5082       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11315E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.912       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8823       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .17788E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.6993       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.5225       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.173       1.0000         .10000E-03   10000.    
    13 'Prefactor '    43.763       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.586       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10882E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .72830       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3359       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=   6114.774     FROM MIGRAD    STATUS=CONVERGED    442 CALLS     1794 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.516        5.2431       -.22581E-06   -.31876E-03
   2  Prefactor     5.5099        6.1186       -.22137E-05   -.88983E-03
   3  Prefactor     .10000E-03    4.1620       -.73032E-07** at limit **
   4  Prefactor     .10000E-03    12.291        .18295E-06** at limit **
   5  Prefactor     23.915        13.597        .31478E-06    .97039E-04
   6  Prefactor     4.8818        6.6889        .24124E-05   -.12653E-02
   7  Prefactor     .10000E-03    9.0711        .30364E-06** at limit **
   8  norm          .10025E-03    .53909        .11672E-06** at limit **
   9  Prefactor     3.7024        44.708        .17015E-06   -.79805E-05
  10  Prefactor     .10000E-03    5.3044       -.24104E-07** at limit **
  11  norm          6.5245        8.3671       -.27574E-07   -.39007E-04
  12  Prefactor     10.174        11.675       -.22139E-05   -.42087E-03
  13  Prefactor     43.765        33.792        .63137E-07    .10024E-04
  14  Prefactor     13.587        9.8423       -.42586E-06   -.15182E-03
  15  Prefactor     .10000E-03    155.38       -.40651E-05** at limit **
  16  Prefactor     .10000E-03    5.1844       -.10485E-06** at limit **
  17  Prefactor     .10000E-03    16.603       -.59492E-07** at limit **
  18  Prefactor     .10000E-03    29.500       -.20595E-06** at limit **
  19  Normalizat    .72793        .19398        .93185E-06   -.76824E-04
  20  Prefactor     1.3362        .18406       -.16405E-06   -.42086E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.5158
  Prefactor  = 5.50989
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.9153
  Prefactor  = 4.88178
  Prefactor  = 0.0001
  norm       = 0.000100253
  Prefactor  = 3.70241
  Prefactor  = 0.0001
  norm       = 6.5245
  Prefactor  = 10.1739
  Prefactor  = 43.7652
  Prefactor  = 13.5868
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.727933
  Prefactor  = 1.3362
 **********
 **   18 **HESSE 
 **********

 FCN=   6114.774     FROM HESSE     STATUS=OK           297 CALLS     2091 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.516        5.2448        .94509E-04   -1.4871    
   2  Prefactor     5.5099        6.4461        .17120E-03   -1.5238    
   3  Prefactor     .10000E-03    4.1865        .15575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.543        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.915        13.563        .81916E-04   -1.4730    
   6  Prefactor     4.8818        8.5030        .91021E-03   -1.5266    
   7  Prefactor     .10000E-03    9.0993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10025E-03    1.8699        .19663E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.7024        44.312        .20997E-03   -1.5323    
  10  Prefactor     .10000E-03    5.3499        .17578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.5245        8.3608        .15714E-03   -1.5197    
  12  Prefactor     10.174        11.952        .12563E-03   -1.5070    
  13  Prefactor     43.765        33.861        .60602E-04   -1.4384    
  14  Prefactor     13.587        9.8635        .10867E-03   -1.4971    
  15  Prefactor     .10000E-03    156.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.1996        .17390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    29.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .72793        .22950        .30766E-03   -1.0280    
  20  Prefactor     1.3362        .21956        .22941E-03   -.82237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3455e-09
Minuit parameter uncertainties:
  1  5.24497
  2  6.44687
  3  4.25721e-06
  4  1.4457e-05
  5  13.5652
  6  8.5051
  7  1.63981e-05
  8  0.00137661
  9  25.6405
  10  2.13846e-05
  11  8.36228
  12  11.9547
  13  33.8762
  14  9.86464
  15  0.00143172
  16  1.08194e-05
  17  2.65035e-05
  18  3.53235e-05
  19  0.229806
  20  0.219716
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  6.524e+00  8.362e+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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.336e+00  2.197e-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:  7.279e-01  2.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.09
Ra Dec: 169.766 12.587
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.95e-08 +/- 2.50e-08
Energy Flux (Fixed Index): 5.89e-06 +/- 7.55e-06

TS (Fixed Index): 1.09
Ra Dec: 169.766 12.587
Photon Flux Upper Limit: 8.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666500/likelihoodResults_505008001_505267201_4FGL_J1119.0+1235_daily_bin1025.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) = 6114.64922027
delta logL = 0.125265422364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6114.64496172
delta logL = 0.129523970673

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2371       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8758       1.0000          .0000       5.0000    
     3 'Normalizat'    .73575       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3302       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=   6114.645     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      238 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2350        8.6342        .14910E-03   -.43614E-04
   2  alpha         1.8789        .95006        .27875E-01    .41453E-05
   3  Normalizat    .73564        .22176        .30613E-03    .19471E-03
   4  Prefactor     1.3303        .21853        .22980E-03    .23881E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.23496
  alpha      = 1.87895
  Normalizat = 0.735641
  Prefactor  = 1.33035
 **********
 **   18 **HESSE 
 **********

 FCN=   6114.645     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2350        8.6874        .59640E-05   -1.5170    
   2  alpha         1.8789        .95585        .11150E-02   -.25105    
   3  Normalizat    .73564        .22193        .12245E-04   -1.0250    
   4  Prefactor     1.3303        .21870        .45959E-04   -.82409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.89734e-11
Minuit parameter uncertainties:
  1  8.68893
  2  0.982588
  3  0.222206
  4  0.218849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666500': 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) = 6114.64495609
delta logL = 0.129529595427

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  7.235e+00  8.689e+00  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  1.879e+00  9.826e-01  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.330e+00  2.188e-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:  7.356e-01  2.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.35
Ra Dec: 169.766 12.587
Photon Index (Free Index): 1.88 +/- 0.98
Photon Flux (Free Index): 1.46e-08 +/- 2.07e-08
Energy Flux (Free Index): 7.12e-06 +/- 8.75e-06

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/666500/cmap_HighResolution_505008001_505267201_4FGL_J1119.0+1235_daily_bin1025.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.67e-05', comment='SUCCESS', photon_flux='1.95e-08', energy_flux2='7.12e-06', photon_flux_error='2.50e-08', dlogl='1.30e-01', energy_flux='5.89e-06', photon_flux2='1.46e-08', job_status='DONE', time_completed='2021-09-03 16:07:05.603550', photon_index_error2='0.98', photon_index2='1.88', ts='1.09', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', photon_flux_upper_limit='8.85e-08', energy_flux_error2='8.75e-06', EG='0.73', time_epoch_completed='1630710425.6', return_code='0', job_id='666500', GAL2='1.33', EG2='0.74', return_code2='0', energy_flux_error='7.55e-06', photon_flux_error2='2.07e-08', ts2='1.35', photon_index='2.41' WHERE bin_id='1025' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:07:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 666500: <4FGL_J1119.0+1235_daily_bin1025> in cluster <slac> Done

Job <4FGL_J1119.0+1235_daily_bin1025> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 15:51:12 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 15:52:29 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:52:29 2021
Terminated at Fri Sep  3 16:07:06 2021
Results reported at Fri Sep  3 16:07:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin1025 169.766 12.5866 505008001 505267201 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 :                                   610.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            954 sec.

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

