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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1490
RA = 180.833, Dec = 11.3231
tmin = 625536001, tmax = 625795201
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='293612', job_status='RUN', time_executed='2021-09-04 22:23:00.469450', time_epoch_executed='1630819380.47' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1490'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293612

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293612/ft1_4FGL_J1203.3+1119_daily_bin1490.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293612/ft2_4FGL_J1203.3+1119_daily_bin1490.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293612/ft1_4FGL_J1203.3+1119_daily_bin1490.fits outfile=/scratch/kocevski/293612/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1490.fits ra=180.833 dec=11.3231 rad=12.0 tmin=625536001.0 tmax=625795201.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.59
user 3.37
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/293612/ft1_filtered_4FGL_J1203.3+1119_daily_bin1490.fits" evtable="EVENTS" scfile=/scratch/kocevski/293612/ft2_4FGL_J1203.3+1119_daily_bin1490.fits sctable="SC_DATA" outfile=/scratch/kocevski/293612/ltcube_625536001_625795201_4FGL_J1203.3+1119_daily_bin1490.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/293612/ft2_4FGL_J1203.3+1119_daily_bin1490.fits
.....................!
real 13.01
user 12.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293612/ft1_filtered_4FGL_J1203.3+1119_daily_bin1490.fits evtable="EVENTS" scfile=/scratch/kocevski/293612/ft2_4FGL_J1203.3+1119_daily_bin1490.fits sctable="SC_DATA" expcube=/scratch/kocevski/293612/ltcube_625536001_625795201_4FGL_J1203.3+1119_daily_bin1490.fits outfile=/scratch/kocevski/293612/expmap_625536001_625795201_4FGL_J1203.3+1119_daily_bin1490.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/293612/ltcube_625536001_625795201_4FGL_J1203.3+1119_daily_bin1490.fits
.....................!
real 189.89
user 185.18
sys 4.35

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/293612/ft1_filtered_4FGL_J1203.3+1119_daily_bin1490.fits scfile=/scratch/kocevski/293612/ft2_4FGL_J1203.3+1119_daily_bin1490.fits outfile=/scratch/kocevski/293612/cmap_625536001_625795201_4FGL_J1203.3+1119_daily_bin1490.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.57
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/293612/ft1_filtered_4FGL_J1203.3+1119_daily_bin1490.fits scfile=/scratch/kocevski/293612/ft2_4FGL_J1203.3+1119_daily_bin1490.fits outfile=/scratch/kocevski/293612/cmap_HighResolution_625536001_625795201_4FGL_J1203.3+1119_daily_bin1490.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.53
user 0.38
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/293612/ft1_filtered_4FGL_J1203.3+1119_daily_bin1490.fits', '/scratch/kocevski/293612/ft2_4FGL_J1203.3+1119_daily_bin1490.fits', expMap='/scratch/kocevski/293612/expmap_625536001_625795201_4FGL_J1203.3+1119_daily_bin1490.fits', expCube='/scratch/kocevski/293612/ltcube_625536001_625795201_4FGL_J1203.3+1119_daily_bin1490.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/293612/Model_4FGL_J1203.3+1119_daily_bin1490.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/293612/ft1_filtered_4FGL_J1203.3+1119_daily_bin1490.fits
Spacecraft file(s): /scratch/kocevski/293612/ft2_4FGL_J1203.3+1119_daily_bin1490.fits
Exposure map: /scratch/kocevski/293612/expmap_625536001_625795201_4FGL_J1203.3+1119_daily_bin1490.fits
Exposure cube: /scratch/kocevski/293612/ltcube_625536001_625795201_4FGL_J1203.3+1119_daily_bin1490.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/293612/Model_4FGL_J1203.3+1119_daily_bin1490.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) = 5542.34284435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.995       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.807       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10706E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.951       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.259       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.7372       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .98487E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.390       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .42671       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3373       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.7517       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    160.14       1.0000         .10000E-03   10000.    
    20 'norm      '    2.1814       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.516       1.0000         .10000E-03   10000.    
    23 'norm      '    3.9365       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .69130       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.3442       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=   5542.274     FROM MIGRAD    STATUS=CONVERGED    607 CALLS     3089 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.994        13.574        .10914E-07    .14501E-04
   2  Prefactor     .10000E-03    19.470       -.32138E-05** at limit **
   3  Prefactor     .10000E-03    5.8200       -.57260E-07** at limit **
   4  Prefactor     31.805        27.771       -.11348E-05    .35108E-05
   5  Prefactor     .10000E-03    81.557        .13850E-04** at limit **
   6  Prefactor     21.952        12.958        .33370E-08    .24004E-03
   7  Prefactor     12.258        8.6577       -.14243E-05    .36702E-05
   8  Prefactor     .10000E-03    5.6552       -.68487E-07** at limit **
   9  Prefactor     3.7381        3.4330        .14042E-06    .22472E-04
  10  Prefactor     .10001E-03    245.65       -.17307E-03** at limit **
  11  Prefactor     19.400        49.747        .14767E-04    .20220E-04
  12  Prefactor     .42590        1.8775       -.95557E-06   -.15072E-02
  13  Prefactor     1.3370        3.6841       -.12721E-06   -.71562E-03
  14  Prefactor     .10000E-03    27.128       -.54619E-05** at limit **
  15  norm          3.7520        3.5195        .15932E-06   -.15655E-04
  16  Prefactor     .10000E-03    23.887        .14630E-04** at limit **
  17  norm          .10000E-03    .55222E-01   -.39759E-08** at limit **
  18  norm          .10000E-03    30.676       -.16454E-04** at limit **
  19  Prefactor     160.09        143.77       -.31982E-04    .22194E-05
  20  norm          2.1814        .80559        .11752E-08    .35952E-03
  21  Prefactor     .10000E-03    3.7866        .10151E-06** at limit **
  22  Prefactor     17.519        24.198        .95256E-06    .11878E-04
  23  norm          3.9363        2.1833        .11245E-06   -.11145E-03
  24  Prefactor     .10000E-03    39.675        .94261E-05** at limit **
  25  Normalizat    .69127        .20800       -.11044E-05    .32244E-03
  26  Prefactor     1.3442        .18924        .10841E-05    .27894E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 24.9942
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.8047
  Prefactor  = 0.0001
  Prefactor  = 21.9516
  Prefactor  = 12.2579
  Prefactor  = 0.0001
  Prefactor  = 3.73806
  Prefactor  = 0.000100011
  Prefactor  = 19.4001
  Prefactor  = 0.425898
  Prefactor  = 1.33698
  Prefactor  = 0.0001
  norm       = 3.75203
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 160.095
  norm       = 2.18139
  Prefactor  = 0.0001
  Prefactor  = 17.5191
  norm       = 3.93627
  Prefactor  = 0.0001
  Normalizat = 0.691274
  Prefactor  = 1.34424
 **********
 **   18 **HESSE 
 **********

 FCN=   5542.274     FROM HESSE     STATUS=OK           454 CALLS     3543 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.994        13.572        .80125E-04   -1.4708    
   2  Prefactor     .10000E-03    19.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.8426        .17536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     31.805        27.770        .71047E-04   -1.4579    
   5  Prefactor     .10000E-03    81.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.952        12.963        .42745E-03   -1.4771    
   7  Prefactor     12.258        8.6518        .11441E-03   -1.5008    
   8  Prefactor     .10000E-03    5.6774        .17289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.7381        3.4260        .12555E-03   -1.5321    
  10  Prefactor     .10001E-03    244.96        .20772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.400        49.725        .90956E-04   -1.4827    
  12  Prefactor     .42590        1.6927        .18499E-03   -1.5577    
  13  Prefactor     1.3370        3.5597        .20500E-03   -1.5477    
  14  Prefactor     .10000E-03    27.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.7520        3.5073        .12412E-03   -1.5321    
  16  Prefactor     .10000E-03    24.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .57286E-01    .34119E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    30.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     160.09        143.85        .15933E-03   -1.3171    
  20  norm          2.1814        .80292        .37631E-04   -1.5413    
  21  Prefactor     .10000E-03    3.7904        .14144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     17.519        24.197        .95697E-04   -1.4871    
  23  norm          3.9363        2.1786        .78108E-04   -1.5311    
  24  Prefactor     .10000E-03    39.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .69127        .24209        .31164E-03   -1.0424    
  26  Prefactor     1.3442        .22289        .22631E-03   -.82001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32928e-09
Minuit parameter uncertainties:
  1  13.5735
  2  2.54874e-06
  3  1.4946e-06
  4  27.7813
  5  0.000213009
  6  12.9646
  7  8.65266
  8  1.98382e-05
  9  3.42615
  10  0.00331174
  11  49.8315
  12  1.69288
  13  3.56027
  14  1.88579e-05
  15  3.50754
  16  1.93281e-05
  17  1.04653e-07
  18  1.69256e-05
  19  144.172
  20  0.802928
  21  2.03892e-06
  22  24.2101
  23  2.17864
  24  7.35381e-06
  25  0.242464
  26  0.22305
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  3.312e-03  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:  1.344e+00  2.231e-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:  6.913e-01  2.425e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.833 11.323
Photon Flux Upper Limit: 7.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/293612/likelihoodResults_625536001_625795201_4FGL_J1203.3+1119_daily_bin1490.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) = 5542.27417098
delta logL = -1.93048435904e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5542.2741517
delta logL = -1.95232132683e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3111       1.0000          .0000       10.000    
     3 'Normalizat'    .69128       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3442       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.

 FCN=   5542.274     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      249 TOTAL
                     EDM=   .77E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9967.6        .90712E-02** at limit **
   2  Index         2.3784        7.6397        .50000       -.26736E-05
   3  Normalizat    .69127        .51089E-01    .70416E-01   -.95596E-04
   4  Prefactor     1.3442        .50215E-01    .51190E-01    .41817E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.37841
  Normalizat = 0.691268
  Prefactor  = 1.34425
 **********
 **   18 **HESSE 
 **********

 FCN=   5542.274     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      280 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9361.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3784        5.8842        .50000       -.55191    
   3  Normalizat    .69127        .75166E-01    .31164E-03   -1.0424    
   4  Prefactor     1.3442        .74084E-01    .22630E-03   -.82001    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.02499e-11
Minuit parameter uncertainties:
  1  0.0193891
  2  51.8829
  3  0.0751775
  4  0.0740901
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293612': 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) = 5542.27415165
delta logL = 2.44635884883e-08

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  1.939e-02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.378e+00  5.188e+01  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:  1.344e+00  7.409e-02  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:  6.913e-01  7.518e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 180.833 11.323

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/293612/cmap_HighResolution_625536001_625795201_4FGL_J1203.3+1119_daily_bin1490.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.93e-03', job_status='DONE', photon_flux_upper_limit='7.71e-08', time_completed='2021-09-04 22:35:11.579831', job_id='293612', GAL2='1.34', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1630820111.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.34', dlogl='2.45e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1490' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:35:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 293612: <4FGL_J1203.3+1119_daily_bin1490> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1490> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 22:20:56 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:20:57 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:57 2021
Terminated at Sat Sep  4 22:35:12 2021
Results reported at Sat Sep  4 22:35:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1490 180.833 11.3231 625536001 625795201 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 :                                   718.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            856 sec.

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

