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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1228
RA = 180.833, Dec = 11.3231
tmin = 557625601, tmax = 557884801
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='292388', job_status='RUN', time_executed='2021-09-04 22:19:17.319716', time_epoch_executed='1630819157.32' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1228'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/292388

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/292388/ft1_4FGL_J1203.3+1119_daily_bin1228.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/292388/ft2_4FGL_J1203.3+1119_daily_bin1228.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/292388/ft1_4FGL_J1203.3+1119_daily_bin1228.fits outfile=/scratch/kocevski/292388/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1228.fits ra=180.833 dec=11.3231 rad=12.0 tmin=557625601.0 tmax=557884801.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.48
user 3.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/292388/ft2_4FGL_J1203.3+1119_daily_bin1228.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/292388/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1228.fits evtable="EVENTS" outfile="/scratch/kocevski/292388/ft1_filtered_4FGL_J1203.3+1119_daily_bin1228.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.53
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/292388/ft1_filtered_4FGL_J1203.3+1119_daily_bin1228.fits evtable="EVENTS" scfile=/scratch/kocevski/292388/ft2_4FGL_J1203.3+1119_daily_bin1228.fits sctable="SC_DATA" expcube=/scratch/kocevski/292388/ltcube_557625601_557884801_4FGL_J1203.3+1119_daily_bin1228.fits outfile=/scratch/kocevski/292388/expmap_557625601_557884801_4FGL_J1203.3+1119_daily_bin1228.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/292388/ltcube_557625601_557884801_4FGL_J1203.3+1119_daily_bin1228.fits
.....................!
real 190.84
user 186.27
sys 4.19

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/292388/ft1_filtered_4FGL_J1203.3+1119_daily_bin1228.fits scfile=/scratch/kocevski/292388/ft2_4FGL_J1203.3+1119_daily_bin1228.fits outfile=/scratch/kocevski/292388/cmap_557625601_557884801_4FGL_J1203.3+1119_daily_bin1228.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.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/292388/ft1_filtered_4FGL_J1203.3+1119_daily_bin1228.fits scfile=/scratch/kocevski/292388/ft2_4FGL_J1203.3+1119_daily_bin1228.fits outfile=/scratch/kocevski/292388/cmap_HighResolution_557625601_557884801_4FGL_J1203.3+1119_daily_bin1228.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0022       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .33741E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    47.745       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .75437E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    713.48       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .58975E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .32387E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .27539E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14448E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12337E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .49349E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .40864E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.5217       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .73365E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4431       1.0000         .10000E-03   10000.    
    18 'norm      '    .11373E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    92.363       1.0000         .10000E-03   10000.    
    20 'norm      '    .40047       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .15720E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    23.505       1.0000         .10000E-03   10000.    
    23 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .27486E-02   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    26 'Prefactor '    2.2576       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=   1635.434     FROM MIGRAD    STATUS=CONVERGED    763 CALLS     3347 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10008E-03    8894.5       -.11636E-04** at limit **
   2  Prefactor     .10000E-03    395.36        .15969E-07** at limit **
   3  Prefactor     57.766        85.740       -.79913E-06    .21220E-04
   4  Prefactor     .10000E-03    48.185        .50594E-08** at limit **
   5  Prefactor     731.15        626.37        .17788E-05   -.59205E-05
   6  Prefactor     .10000E-03    40.800       -.97922E-06** at limit **
   7  Prefactor     .10000E-03    6.6363       -.57966E-07** at limit **
   8  Prefactor     .10000E-03    32.640       -.51034E-07** at limit **
   9  Prefactor     .10000E-03    60.704        .12620E-05** at limit **
  10  Prefactor     .10000E-03    115.78       -.10278E-06** at limit **
  11  Prefactor     .10000E-03    38.677       -.19908E-06** at limit **
  12  Prefactor     .10000E-03    4.9219        .28371E-07** at limit **
  13  Prefactor     .10000E-03    18.268       -.35328E-05** at limit **
  14  Prefactor     .10000E-03    49.895        .30329E-06** at limit **
  15  norm          3.4883        9.0488       -.16652E-05   -.10849E-03
  16  Prefactor     .10000E-03    40.967        .39168E-07** at limit **
  17  norm          1.4419        .83065       -.40067E-07    .78924E-03
  18  norm          .10000E-03    128.65        .97284E-06** at limit **
  19  Prefactor     97.015        232.48        .82347E-06    .54931E-06
  20  norm          .41517        1.2321        .94152E-06    .32095E-03
  21  Prefactor     .10000E-03    18.892        .35468E-06** at limit **
  22  Prefactor     25.442        65.091       -.77106E-08    .37625E-04
  23  norm          .10000E-03    1.3002        .94492E-07** at limit **
  24  Prefactor     .10001E-03    802.12        .29312E-05** at limit **
  25  Normalizat    .10000E-01    .26214        .11753E-04** at limit **
  26  Prefactor     2.2468        .28382        .83157E-07   -.49934E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100079
  Prefactor  = 0.0001
  Prefactor  = 57.7655
  Prefactor  = 0.0001
  Prefactor  = 731.151
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.48829
  Prefactor  = 0.0001
  norm       = 1.44195
  norm       = 0.0001
  Prefactor  = 97.0146
  norm       = 0.415175
  Prefactor  = 0.0001
  Prefactor  = 25.4423
  norm       = 0.0001
  Prefactor  = 0.000100014
  Normalizat = 0.01
  Prefactor  = 2.24676
 **********
 **   18 **HESSE 
 **********

 FCN=   1635.434     FROM HESSE     STATUS=OK           444 CALLS     3791 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10008E-03    8897.1        .11713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    395.36        .19697E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     57.766        85.229        .58031E-04   -1.4186    
   4  Prefactor     .10000E-03    48.263        .20937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     731.15        626.26        .77699E-04   -1.0232    
   6  Prefactor     .10000E-03    40.398        .21073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.6339        .10175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    32.639        .21357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    62.115        .39839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    115.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    38.611        .20618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.9320        .87579E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    24.483        .27373E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    49.883        .21254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.4883        8.9888        .15635E-03   -1.5334    
  16  Prefactor     .10000E-03    40.968        .20953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4419        .82674        .26706E-04   -1.5468    
  18  norm          .10000E-03    128.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     97.015        232.42        .20908E-03   -1.3735    
  20  norm          .41517        1.2368        .62482E-04   -1.5579    
  21  Prefactor     .10000E-03    18.938        .17157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     25.442        65.460        .82620E-04   -1.4699    
  23  norm          .10000E-03    1.3100        .44898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10001E-03    814.56        .19921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .10000E-01    .33206        .11552E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     2.2468        .29541        .22268E-03   -.58314    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23087e-10
Minuit parameter uncertainties:
  1  0.0607729
  2  5.25043e-06
  3  85.4102
  4  2.446e-05
  5  632.468
  6  0.000394625
  7  1.04572e-05
  8  2.35275e-05
  9  4.70562e-05
  10  8.20203e-05
  11  0.000114045
  12  1.81697e-06
  13  0.000349007
  14  0.000176631
  15  8.99228
  16  3.62046e-05
  17  0.826746
  18  0.000243408
  19  234.657
  20  1.23689
  21  2.23433e-05
  22  65.6452
  23  1.23521e-05
  24  0.00693852
  25  2.55091e-07
  26  0.295659
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  8.202e-05  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:  2.247e+00  2.957e-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.000e-02  2.551e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.833 11.323
Photon Flux Upper Limit: 2.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.95e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/292388/likelihoodResults_557625601_557884801_4FGL_J1203.3+1119_daily_bin1228.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) = 1635.43409737
delta logL = -4.11768430695e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1635.43405679
delta logL = -5.88235025134e-07

Fit tolerance = 1e-08

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

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

 FCN=   1635.434     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      292 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10318E-03    57.296        .18142E-01** at limit **
   2  Index         2.5027        8.6730        .50000        .36450E-05
   3  Normalizat    .10000E-01    .41631E-03    .11549E-01** at limit **
   4  Prefactor     2.2468        .82910E-02    .22269E-03   -.10440E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103178
  Index      = 2.50269
  Normalizat = 0.01
  Prefactor  = 2.24676
 **********
 **   18 **HESSE 
 **********

 FCN=   1635.434     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      321 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10318E-03    279.82        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5027        8.6928        .50000       -.52298    
   3  Normalizat    .10000E-01    .20612E-02    .23098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.2468        .18435E-01    .89076E-05   -.58314    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.80229e-10
Minuit parameter uncertainties:
  1  0.0599225
  2  400.098
  3  7.19524e-08
  4  0.0184352
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/292388': 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) = 1635.43405633
delta logL = -1.27457724375e-07

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.032e-04  5.992e-02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.503e+00  4.001e+02  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:  2.247e+00  1.844e-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:  1.000e-02  7.195e-08  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/292388/cmap_HighResolution_557625601_557884801_4FGL_J1203.3+1119_daily_bin1228.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-02', job_status='DONE', photon_flux_upper_limit='2.53e-07', time_completed='2021-09-04 22:29:10.221801', job_id='292388', GAL2='2.25', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630819750.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='2.25', dlogl='-1.27e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1228' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:29:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 292388: <4FGL_J1203.3+1119_daily_bin1228> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1228> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 22:16:45 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:16:46 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:16:46 2021
Terminated at Sat Sep  4 22:29:10 2021
Results reported at Sat Sep  4 22:29:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1228 180.833 11.3231 557625601 557884801 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 :                                   438.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             230.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            745 sec.

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

