/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 42 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_J1121.4-0553_daily_bin1025
RA = 170.364, Dec = -5.8997
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='685581', job_status='RUN', time_executed='2021-09-03 16:47:12.081110', time_epoch_executed='1630712832.08' WHERE source_name='4FGL J1121.4-0553' and cadence='daily' and bin_id='1025'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685581

Creating custom pfile directory:
/scratch/kocevski/685581/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/685581/ft1_4FGL_J1121.4-0553_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/685581/ft2_4FGL_J1121.4-0553_daily_bin1025.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685581/ft1_4FGL_J1121.4-0553_daily_bin1025.fits outfile=/scratch/kocevski/685581/ft1_filteredMKT_4FGL_J1121.4-0553_daily_bin1025.fits ra=170.364 dec=-5.8997 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.57
user 4.32
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/685581/ft2_4FGL_J1121.4-0553_daily_bin1025.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/685581/ft2_4FGL_J1121.4-0553_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/685581/ft1_filteredMKT_4FGL_J1121.4-0553_daily_bin1025.fits evtable="EVENTS" outfile="/scratch/kocevski/685581/ft1_filtered_4FGL_J1121.4-0553_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.55
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/685581/ft1_filtered_4FGL_J1121.4-0553_daily_bin1025.fits" evtable="EVENTS" scfile=/scratch/kocevski/685581/ft2_4FGL_J1121.4-0553_daily_bin1025.fits sctable="SC_DATA" outfile=/scratch/kocevski/685581/ltcube_505008001_505267201_4FGL_J1121.4-0553_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/685581/ft2_4FGL_J1121.4-0553_daily_bin1025.fits
.....................!
real 17.23
user 16.82
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685581/ft1_filtered_4FGL_J1121.4-0553_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/685581/ft2_4FGL_J1121.4-0553_daily_bin1025.fits sctable="SC_DATA" expcube=/scratch/kocevski/685581/ltcube_505008001_505267201_4FGL_J1121.4-0553_daily_bin1025.fits outfile=/scratch/kocevski/685581/expmap_505008001_505267201_4FGL_J1121.4-0553_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/685581/ltcube_505008001_505267201_4FGL_J1121.4-0553_daily_bin1025.fits
.....................!
real 192.12
user 187.11
sys 4.38

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

Setting source of interest to:
4FGL J1121.4-0553 @ 170.364 -5.8997

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/685581/ft1_filtered_4FGL_J1121.4-0553_daily_bin1025.fits scfile=/scratch/kocevski/685581/ft2_4FGL_J1121.4-0553_daily_bin1025.fits outfile=/scratch/kocevski/685581/cmap_505008001_505267201_4FGL_J1121.4-0553_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=170.364 yref=-5.8997 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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/685581/ft1_filtered_4FGL_J1121.4-0553_daily_bin1025.fits scfile=/scratch/kocevski/685581/ft2_4FGL_J1121.4-0553_daily_bin1025.fits outfile=/scratch/kocevski/685581/cmap_HighResolution_505008001_505267201_4FGL_J1121.4-0553_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=170.364 yref=-5.8997 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/685581/ft1_filtered_4FGL_J1121.4-0553_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/685581/ft2_4FGL_J1121.4-0553_daily_bin1025.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/685581/Model_4FGL_J1121.4-0553_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/685581/ft1_filtered_4FGL_J1121.4-0553_daily_bin1025.fits.....................!
real 66.72
user 65.15
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/685581/ft1_filtered_4FGL_J1121.4-0553_daily_bin1025.fits', '/scratch/kocevski/685581/ft2_4FGL_J1121.4-0553_daily_bin1025.fits', expMap='/scratch/kocevski/685581/expmap_505008001_505267201_4FGL_J1121.4-0553_daily_bin1025.fits', expCube='/scratch/kocevski/685581/ltcube_505008001_505267201_4FGL_J1121.4-0553_daily_bin1025.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/685581/Model_4FGL_J1121.4-0553_daily_bin1025.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1121.4-0553'

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  9.256e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
295        alpha:  2.309e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
296         beta:  1.378e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
297           Eb:  6.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/685581/ft1_filtered_4FGL_J1121.4-0553_daily_bin1025.fits
Spacecraft file(s): /scratch/kocevski/685581/ft2_4FGL_J1121.4-0553_daily_bin1025.fits
Exposure map: /scratch/kocevski/685581/expmap_505008001_505267201_4FGL_J1121.4-0553_daily_bin1025.fits
Exposure cube: /scratch/kocevski/685581/ltcube_505008001_505267201_4FGL_J1121.4-0553_daily_bin1025.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/685581/Model_4FGL_J1121.4-0553_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) = 7232.44553515

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86671       1.0000         .10000E-03   10000.    
     2 'norm      '    12.322       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.2126       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.7940       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13809E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4884       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21023E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    6.9366       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0995       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.463       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.2710       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15742E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.343       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13382E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.051       1.0000         .10000E-03   10000.    
    21 'Prefactor '    62.526       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5078       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .66458       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7232.420     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2568 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86671        .74678       -.48268E-07   -.11187E-02
   2  norm          12.322        5.8899       -.39528E-07    .11150E-05
   3  Prefactor     7.2104        10.286       -.22897E-06   -.14074E-03
   4  Prefactor     .10000E-03    10.457        .45862E-05** at limit **
   5  Prefactor     7.7902        8.6819       -.71679E-07   -.15806E-03
   6  Prefactor     .10000E-03    1.9133        .11169E-06** at limit **
   7  Prefactor     .10000E-03    34.837        .12600E-04** at limit **
   8  norm          .10000E-03    6.5457       -.12068E-05** at limit **
   9  Prefactor     2.4868        3.0385        .82357E-07   -.29344E-03
  10  Prefactor     .10130E-03    5.1757       -.24337E-05** at limit **
  11  norm          6.9378        11.688       -.11515E-05   -.68371E-03
  12  Prefactor     2.0993        2.0505       -.19165E-06   -.52636E-03
  13  Prefactor     19.459        19.204       -.20286E-05   -.18915E-04
  14  Prefactor     .10000E-03    10.879       -.47082E-05** at limit **
  15  norm          7.2668        5.0069       -.10820E-05   -.27678E-03
  16  Prefactor     .10000E-03    1.8141        .53890E-06** at limit **
  17  Prefactor     22.333        14.829       -.43358E-06   -.54963E-04
  18  Prefactor     .10000E-03    4.9485        .53300E-07** at limit **
  19  Prefactor     .10000E-03    27.274       -.43055E-05** at limit **
  20  Prefactor     15.044        14.806        .10005E-05   -.52178E-04
  21  Prefactor     62.513        42.092       -.12059E-04   -.17434E-05
  22  Normalizat    1.5081        .19679        .13920E-06    .22960E-03
  23  Prefactor     .66436        .13757        .15076E-05    .12642E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.866711
  norm       = 12.3217
  Prefactor  = 7.21039
  Prefactor  = 0.0001
  Prefactor  = 7.79017
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.48676
  Prefactor  = 0.0001013
  norm       = 6.93785
  Prefactor  = 2.09926
  Prefactor  = 19.4588
  Prefactor  = 0.0001
  norm       = 7.26684
  Prefactor  = 0.000100001
  Prefactor  = 22.3326
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 15.0437
  Prefactor  = 62.5129
  Normalizat = 1.50812
  Prefactor  = 0.66436
 **********
 **   18 **HESSE 
 **********

 FCN=   7232.420     FROM HESSE     STATUS=OK           386 CALLS     2954 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86671        .74216        .52740E-03   -1.5522    
   2  norm          12.322        5.8951        .11412E-03   -1.5006    
   3  Prefactor     7.2104        10.575        .14936E-03   -1.5171    
   4  Prefactor     .10000E-03    10.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.7902        8.6319        .14363E-03   -1.5150    
   6  Prefactor     .10000E-03    6.3549        .22276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    34.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.6599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.4868        3.0182        .14901E-03   -1.5393    
  10  Prefactor     .10130E-03    5.5872        .54573E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.9378        11.872        .76164E-03   -1.5181    
  12  Prefactor     2.0993        2.0412        .11582E-03   -1.5418    
  13  Prefactor     19.459        19.158        .90786E-04   -1.4825    
  14  Prefactor     .10000E-03    10.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.2668        4.9533        .14875E-03   -1.5169    
  16  Prefactor     .10000E-03    4.0522        .21682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     22.333        14.730        .84739E-04   -1.4762    
  18  Prefactor     .10000E-03    4.9496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    27.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.044        14.813        .10324E-03   -1.4932    
  21  Prefactor     62.513        41.815        .50746E-04   -1.4125    
  22  Normalizat    1.5081        .23069        .24739E-03   -.77550    
  23  Prefactor     .66436        .16093        .25638E-03   -1.0494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43257e-09
Minuit parameter uncertainties:
  1  0.742171
  2  5.89537
  3  10.5775
  4  2.86507e-05
  5  8.63324
  6  0.000114375
  7  3.57851e-05
  8  4.24574e-06
  9  3.01838
  10  0.00539103
  11  11.8761
  12  2.04132
  13  19.1644
  14  4.59303e-06
  15  4.95357
  16  0.000104329
  17  14.7326
  18  5.17496e-07
  19  0.000246403
  20  14.8161
  21  41.8346
  22  0.230849
  23  0.161043
Done.

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

Extracting fit parameters...

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  1.000e-04  4.246e-06  1.000e-04  1.000e+04 ( 1.000e-12)
295        alpha:  2.309e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
296         beta:  1.378e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
297           Eb:  6.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  6.644e-01  1.610e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.508e+00  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 170.364 -5.900
Photon Flux Upper Limit: 6.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.13e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/685581/likelihoodResults_505008001_505267201_4FGL_J1121.4-0553_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): 102
logL (Free Index) = 7232.42025714
delta logL = -0.000715662519724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7232.29774641
delta logL = 0.121795068052

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17755       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4759       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67853       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+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=   7232.298     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      448 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17772        .43095        .69584E-04    .12564E-03
   2  alpha         5.0000        4.8708        .50000    ** at limit **
   3  Normalizat    1.4762        .23126        .24950E-03   -.57714E-04
   4  Prefactor     .67844        .16267        .25393E-03   -.96705E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.177716
  alpha      = 5
  Normalizat = 1.47623
  Prefactor  = 0.678437
 **********
 **   18 **HESSE 
 **********

 FCN=   7232.298     FROM HESSE     STATUS=OK            29 CALLS      477 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17772        .42747        .27834E-05   -1.5624    
   2  alpha         5.0000        4.8590        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.4762        .23153        .49900E-04   -.78448    
   4  Prefactor     .67844        .16284        .10157E-04   -1.0438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40349e-11
Minuit parameter uncertainties:
  1  0.427479
  2  0.000242471
  3  0.231696
  4  0.162954
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685581': 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) = 7232.2977431
delta logL = 0.121798377081

Extracting fit parameters...

4FGL J1121.4-0553
   Spectrum: LogParabola
294         norm:  1.777e-01  4.275e-01  1.000e-04  1.000e+04 ( 1.000e-12)
295        alpha:  5.000e+00  2.425e-04  0.000e+00  5.000e+00 ( 1.000e+00)
296         beta:  1.378e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
297           Eb:  6.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  6.784e-01  1.630e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.476e+00  2.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 170.364 -5.900

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/685581/cmap_HighResolution_505008001_505267201_4FGL_J1121.4-0553_daily_bin1025.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.13e-05', job_status='DONE', photon_flux_upper_limit='6.30e-08', time_completed='2021-09-03 17:01:12.875239', job_id='685581', GAL2='0.68', fit_tolerance='1e-08', EG2='1.48', EG='1.51', time_epoch_completed='1630713672.88', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='1.22e-01', ts2='0.26', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1025' AND source_name='4FGL J1121.4-0553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 17:01:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 685581: <4FGL_J1121.4-0553_daily_bin1025> in cluster <slac> Done

Job <4FGL_J1121.4-0553_daily_bin1025> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 16:46:19 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:46:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 16:46:20 2021
Terminated at Fri Sep  3 17:01:13 2021
Results reported at Fri Sep  3 17:01:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1121.4-0553_daily_bin1025 170.364 -5.8997 505008001 505267201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1121.4-0553 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   819.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             342.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            894 sec.

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

