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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1330
RA = 180.833, Dec = 11.3231
tmin = 584064001, tmax = 584323201
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='293378', job_status='RUN', time_executed='2021-09-04 22:23:42.328972', time_epoch_executed='1630819422.33' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1330'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293378

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293378/ft1_4FGL_J1203.3+1119_daily_bin1330.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293378/ft2_4FGL_J1203.3+1119_daily_bin1330.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293378/ft1_4FGL_J1203.3+1119_daily_bin1330.fits outfile=/scratch/kocevski/293378/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1330.fits ra=180.833 dec=11.3231 rad=12.0 tmin=584064001.0 tmax=584323201.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 6.05
user 4.25
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/293378/ft2_4FGL_J1203.3+1119_daily_bin1330.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/293378/ft2_4FGL_J1203.3+1119_daily_bin1330.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/293378/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1330.fits evtable="EVENTS" outfile="/scratch/kocevski/293378/ft1_filtered_4FGL_J1203.3+1119_daily_bin1330.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/293378/ft1_filtered_4FGL_J1203.3+1119_daily_bin1330.fits" evtable="EVENTS" scfile=/scratch/kocevski/293378/ft2_4FGL_J1203.3+1119_daily_bin1330.fits sctable="SC_DATA" outfile=/scratch/kocevski/293378/ltcube_584064001_584323201_4FGL_J1203.3+1119_daily_bin1330.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/293378/ft2_4FGL_J1203.3+1119_daily_bin1330.fits
.....................!
real 11.72
user 11.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293378/ft1_filtered_4FGL_J1203.3+1119_daily_bin1330.fits evtable="EVENTS" scfile=/scratch/kocevski/293378/ft2_4FGL_J1203.3+1119_daily_bin1330.fits sctable="SC_DATA" expcube=/scratch/kocevski/293378/ltcube_584064001_584323201_4FGL_J1203.3+1119_daily_bin1330.fits outfile=/scratch/kocevski/293378/expmap_584064001_584323201_4FGL_J1203.3+1119_daily_bin1330.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/293378/ltcube_584064001_584323201_4FGL_J1203.3+1119_daily_bin1330.fits
.....................!
real 190.78
user 185.34
sys 5.00

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

Setting source of interest to:
4FGL J1203.3+1119 @ 180.833 11.3231

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/293378/ft1_filtered_4FGL_J1203.3+1119_daily_bin1330.fits scfile=/scratch/kocevski/293378/ft2_4FGL_J1203.3+1119_daily_bin1330.fits outfile=/scratch/kocevski/293378/cmap_584064001_584323201_4FGL_J1203.3+1119_daily_bin1330.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=180.833 yref=11.3231 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/293378/ft1_filtered_4FGL_J1203.3+1119_daily_bin1330.fits scfile=/scratch/kocevski/293378/ft2_4FGL_J1203.3+1119_daily_bin1330.fits outfile=/scratch/kocevski/293378/cmap_HighResolution_584064001_584323201_4FGL_J1203.3+1119_daily_bin1330.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=180.833 yref=11.3231 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/293378/ft1_filtered_4FGL_J1203.3+1119_daily_bin1330.fits evtable="EVENTS" scfile=/scratch/kocevski/293378/ft2_4FGL_J1203.3+1119_daily_bin1330.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/293378/Model_4FGL_J1203.3+1119_daily_bin1330.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/293378/ft1_filtered_4FGL_J1203.3+1119_daily_bin1330.fits....................!
real 57.99
user 56.24
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/293378/ft1_filtered_4FGL_J1203.3+1119_daily_bin1330.fits', '/scratch/kocevski/293378/ft2_4FGL_J1203.3+1119_daily_bin1330.fits', expMap='/scratch/kocevski/293378/expmap_584064001_584323201_4FGL_J1203.3+1119_daily_bin1330.fits', expCube='/scratch/kocevski/293378/ltcube_584064001_584323201_4FGL_J1203.3+1119_daily_bin1330.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/293378/Model_4FGL_J1203.3+1119_daily_bin1330.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1203.3+1119'

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  8.766e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/293378/ft1_filtered_4FGL_J1203.3+1119_daily_bin1330.fits
Spacecraft file(s): /scratch/kocevski/293378/ft2_4FGL_J1203.3+1119_daily_bin1330.fits
Exposure map: /scratch/kocevski/293378/expmap_584064001_584323201_4FGL_J1203.3+1119_daily_bin1330.fits
Exposure cube: /scratch/kocevski/293378/ltcube_584064001_584323201_4FGL_J1203.3+1119_daily_bin1330.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/293378/Model_4FGL_J1203.3+1119_daily_bin1330.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) = 5921.27446191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5186       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    75.193       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.9934       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.882       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    78.614       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10510E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.6510       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.5952       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.641       1.0000         .10000E-03   10000.    
    17 'norm      '    .66137E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.0768       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.246       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.5350       1.0000         .10000E-03   10000.    
    23 'norm      '    1.1717       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.9348       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .43970       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5921.268     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     3154 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5231        26.753        .68327E-05    .56284E-05
   2  Prefactor     .10000E-03    16.900        .49872E-06** at limit **
   3  Prefactor     .10000E-03    9.9783       -.84580E-08** at limit **
   4  Prefactor     .10000E-03    12.953       -.52107E-07** at limit **
   5  Prefactor     74.848        142.82        .16900E-04   -.76250E-05
   6  Prefactor     .10000E-03    3.6870       -.20253E-06** at limit **
   7  Prefactor     7.9948        8.8315       -.47091E-07   -.46810E-05
   8  Prefactor     18.856        25.854        .39593E-06    .22442E-05
   9  Prefactor     .10000E-03    .96551        .12921E-07** at limit **
  10  Prefactor     78.651        117.19       -.27948E-05    .10308E-05
  11  Prefactor     .10000E-03    18.384       -.63992E-06** at limit **
  12  Prefactor     .10000E-03    .78275        .19346E-07** at limit **
  13  Prefactor     1.6508        1.9578        .31797E-07    .74899E-05
  14  Prefactor     .10000E-03    21.648       -.27432E-06** at limit **
  15  norm          8.5990        5.1325       -.13937E-06    .40747E-05
  16  Prefactor     20.639        33.617        .11139E-07    .11134E-05
  17  norm          .66095E-01    .16829        .36441E-07    .19624E-04
  18  norm          .10000E-03    17.547       -.17666E-07** at limit **
  19  Prefactor     .10000E-03    96.048       -.47286E-06** at limit **
  20  norm          1.0768        .81816        .43662E-08   -.30602E-04
  21  Prefactor     13.250        11.349        .35827E-07    .32494E-05
  22  Prefactor     3.5336        38.467        .24915E-07    .11039E-05
  23  norm          1.1712        1.4970        .14854E-07    .66972E-05
  24  Prefactor     .10000E-03    30.699        .10044E-06** at limit **
  25  Normalizat    1.9341        .22745        .87816E-06    .44927E-04
  26  Prefactor     .44028        .19105       -.24456E-05   -.13488E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.52314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 74.8482
  Prefactor  = 0.0001
  Prefactor  = 7.99476
  Prefactor  = 18.856
  Prefactor  = 0.0001
  Prefactor  = 78.6513
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.65083
  Prefactor  = 0.0001
  norm       = 8.59897
  Prefactor  = 20.6392
  norm       = 0.0660951
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.07676
  Prefactor  = 13.2496
  Prefactor  = 3.5336
  norm       = 1.1712
  Prefactor  = 0.0001
  Normalizat = 1.93413
  Prefactor  = 0.440282
 **********
 **   18 **HESSE 
 **********

 FCN=   5921.268     FROM HESSE     STATUS=OK           458 CALLS     3612 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5231        27.666        .17339E-02   -1.5461    
   2  Prefactor     .10000E-03    16.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.233        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     74.848        143.62        .23152E-03   -1.3976    
   6  Prefactor     .10000E-03    3.6929        .14432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.9948        8.8297        .70908E-03   -1.5142    
   8  Prefactor     18.856        25.809        .92172E-04   -1.4839    
   9  Prefactor     .10000E-03    .96971        .73830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     78.651        117.02        .45293E-04   -1.3932    
  11  Prefactor     .10000E-03    18.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    .79293        .66444E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.6508        1.9380        .11325E-03   -1.5451    
  14  Prefactor     .10000E-03    21.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.5990        5.0829        .11751E-03   -1.5121    
  16  Prefactor     20.639        33.606        .88161E-04   -1.4799    
  17  norm          .66095E-01    .16769        .48337E-04   -1.5657    
  18  norm          .10000E-03    17.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    96.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.0768        .78722        .53328E-04   -1.5500    
  21  Prefactor     13.250        11.270        .55027E-03   -1.4980    
  22  Prefactor     3.5336        37.931        .21500E-03   -1.5332    
  23  norm          1.1712        1.4531        .10174E-03   -1.5492    
  24  Prefactor     .10000E-03    30.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.9341        .25602        .22213E-03   -.66212    
  26  Prefactor     .44028        .21021        .37705E-03   -1.1480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52415e-11
Minuit parameter uncertainties:
  1  12.9895
  2  4.23262e-06
  3  3.85395e-06
  4  1.33901e-06
  5  144.298
  6  1.01046e-05
  7  8.83109
  8  25.8239
  9  1.2497e-07
  10  117.363
  11  5.63355e-05
  12  9.87189e-08
  13  1.93809
  14  1.59376e-05
  15  5.08313
  16  33.6367
  17  0.16769
  18  2.84849e-06
  19  9.39185e-06
  20  0.787228
  21  11.2714
  22  23.1729
  23  1.45318
  24  1.82853e-06
  25  0.2562
  26  0.210582
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  7.865e+01  1.174e+02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  4.403e-01  2.106e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.934e+00  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.81
Ra Dec: 180.833 11.323
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/293378/likelihoodResults_584064001_584323201_4FGL_J1203.3+1119_daily_bin1330.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) = 5920.9783226
delta logL = 0.289647331311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5920.9659886
delta logL = 0.301981324933

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.635       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0407       1.0000          .0000       10.000    
     3 'Normalizat'    1.9030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .45790       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5920.966     FROM MIGRAD    STATUS=FAILED        97 CALLS      313 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.583        109.81        .70142E-04   -.25933E-05
   2  Index         3.0420        1.5835        .57917E-02    .61094E-03
   3  Normalizat    1.9029        .24353        .22337E-03    .62551E-04
   4  Prefactor     .45790        .21052        .37011E-03   -.45553E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5920.966     FROM SIMPLEX   STATUS=UNCHANGED     72 CALLS      385 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.583        109.81        .71040E-03   -1.4566    
   2  Index         3.0420        1.5835        .12277E-02   -.40238    
   3  Normalizat    1.9029        .24353        .28393E-03   -.67008    
   4  Prefactor     .45790        .21052        .30550E-03   -1.1395    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5920.966     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      413 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.583        71.360        .28057E-05   -.56728E-05
   2  Index         3.0420        1.0366        .11583E-02    .32192E-05
   3  Normalizat    1.9029        .24232        .89349E-05   -.76343E-06
   4  Prefactor     .45790        .20949        .14805E-04   -.30717E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.583
  Index      = 3.04198
  Normalizat = 1.90287
  Prefactor  = 0.457897
 **********
 **   18 **HESSE 
 **********

 FCN=   5920.966     FROM HESSE     STATUS=OK            23 CALLS      436 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.583        70.250        .56114E-06   -1.4566    
   2  Index         3.0420        1.0101        .46333E-04   -.40238    
   3  Normalizat    1.9029        .24257        .17870E-05   -.67008    
   4  Prefactor     .45790        .20968        .29609E-05   -1.1395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27863e-12
Minuit parameter uncertainties:
  1  70.4294
  2  1.01839
  3  0.242726
  4  0.210036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293378': 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) = 5920.96598682
delta logL = 0.30198310921

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  3.258e+01  7.043e+01  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  3.042e+00  1.018e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  4.579e-01  2.100e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.903e+00  2.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.44
Ra Dec: 180.833 11.323
Photon Index (Free Index): 3.04 +/- 1.02
Photon Flux (Free Index): 5.88e-08 +/- 5.93e-08
Energy Flux (Free Index): 1.15e-05 +/- 1.12e-05

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/293378/cmap_HighResolution_584064001_584323201_4FGL_J1203.3+1119_daily_bin1330.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.42e-03', comment='SUCCESS', energy_flux2='1.15e-05', dlogl='3.02e-01', photon_flux2='5.88e-08', job_status='DONE', time_completed='2021-09-04 22:37:12.209934', photon_index_error2='1.02', photon_index2='3.04', ts='0.81', fit_tolerance='1e-08', GAL='0.44', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='1.12e-05', EG='1.93', time_epoch_completed='1630820232.21', return_code='0', job_id='293378', GAL2='0.46', EG2='1.90', return_code2='0', photon_flux_error2='5.93e-08', ts2='1.44', photon_index='2.34' WHERE bin_id='1330' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:37:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 293378: <4FGL_J1203.3+1119_daily_bin1330> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1330> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 22:20:36 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:20:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 22:20:38 2021
Terminated at Sat Sep  4 22:37:13 2021
Results reported at Sat Sep  4 22:37:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1330 180.833 11.3231 584064001 584323201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1203.3+1119 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   793.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             282.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            997 sec.

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

