/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 7 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 = 7436
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1350.8+3033_daily_bin72
RA = 207.715, Dec = 30.5588
tmin = 257990401, tmax = 258249601
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='1839', job_status='RUN', time_executed='2021-09-08 14:41:10.906918', time_epoch_executed='1631137270.91' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='72'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/1839

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/1839/ft1_4FGL_J1350.8+3033_daily_bin72.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/1839/ft2_4FGL_J1350.8+3033_daily_bin72.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/1839/ft1_4FGL_J1350.8+3033_daily_bin72.fits outfile=/scratch/kocevski/1839/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin72.fits ra=207.715 dec=30.5588 rad=12.0 tmin=257990401.0 tmax=258249601.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 1.42
user 1.24
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/1839/ft2_4FGL_J1350.8+3033_daily_bin72.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/1839/ft2_4FGL_J1350.8+3033_daily_bin72.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/1839/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin72.fits evtable="EVENTS" outfile="/scratch/kocevski/1839/ft1_filtered_4FGL_J1350.8+3033_daily_bin72.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/1839/ft1_filtered_4FGL_J1350.8+3033_daily_bin72.fits" evtable="EVENTS" scfile=/scratch/kocevski/1839/ft2_4FGL_J1350.8+3033_daily_bin72.fits sctable="SC_DATA" outfile=/scratch/kocevski/1839/ltcube_257990401_258249601_4FGL_J1350.8+3033_daily_bin72.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/1839/ft2_4FGL_J1350.8+3033_daily_bin72.fits
.....................!
real 18.40
user 17.84
sys 0.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/1839/ft1_filtered_4FGL_J1350.8+3033_daily_bin72.fits evtable="EVENTS" scfile=/scratch/kocevski/1839/ft2_4FGL_J1350.8+3033_daily_bin72.fits sctable="SC_DATA" expcube=/scratch/kocevski/1839/ltcube_257990401_258249601_4FGL_J1350.8+3033_daily_bin72.fits outfile=/scratch/kocevski/1839/expmap_257990401_258249601_4FGL_J1350.8+3033_daily_bin72.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/1839/ltcube_257990401_258249601_4FGL_J1350.8+3033_daily_bin72.fits
.....................!
real 193.72
user 187.39
sys 5.30

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

Setting source of interest to:
4FGL J1350.8+3033 @ 207.715 30.5588

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/1839/ft1_filtered_4FGL_J1350.8+3033_daily_bin72.fits scfile=/scratch/kocevski/1839/ft2_4FGL_J1350.8+3033_daily_bin72.fits outfile=/scratch/kocevski/1839/cmap_257990401_258249601_4FGL_J1350.8+3033_daily_bin72.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=207.715 yref=30.5588 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/1839/ft1_filtered_4FGL_J1350.8+3033_daily_bin72.fits scfile=/scratch/kocevski/1839/ft2_4FGL_J1350.8+3033_daily_bin72.fits outfile=/scratch/kocevski/1839/cmap_HighResolution_257990401_258249601_4FGL_J1350.8+3033_daily_bin72.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=207.715 yref=30.5588 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/1839/ft1_filtered_4FGL_J1350.8+3033_daily_bin72.fits evtable="EVENTS" scfile=/scratch/kocevski/1839/ft2_4FGL_J1350.8+3033_daily_bin72.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/1839/Model_4FGL_J1350.8+3033_daily_bin72.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/1839/ft1_filtered_4FGL_J1350.8+3033_daily_bin72.fits.....................!
real 42.25
user 40.70
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/1839/ft1_filtered_4FGL_J1350.8+3033_daily_bin72.fits', '/scratch/kocevski/1839/ft2_4FGL_J1350.8+3033_daily_bin72.fits', expMap='/scratch/kocevski/1839/expmap_257990401_258249601_4FGL_J1350.8+3033_daily_bin72.fits', expCube='/scratch/kocevski/1839/ltcube_257990401_258249601_4FGL_J1350.8+3033_daily_bin72.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/1839/Model_4FGL_J1350.8+3033_daily_bin72.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1350.8+3033'

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.772e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.415e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/1839/ft1_filtered_4FGL_J1350.8+3033_daily_bin72.fits
Spacecraft file(s): /scratch/kocevski/1839/ft2_4FGL_J1350.8+3033_daily_bin72.fits
Exposure map: /scratch/kocevski/1839/expmap_257990401_258249601_4FGL_J1350.8+3033_daily_bin72.fits
Exposure cube: /scratch/kocevski/1839/ltcube_257990401_258249601_4FGL_J1350.8+3033_daily_bin72.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/1839/Model_4FGL_J1350.8+3033_daily_bin72.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) = 4817.79090578

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8385       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10388E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.1056       1.0000         .10000E-03   10000.    
     5 'norm      '    2.1813       1.0000         .10000E-03   10000.    
     6 'norm      '    5.0883       1.0000         .10000E-03   10000.    
     7 'norm      '    21.450       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.7358       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.107       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3955       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10311E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .15245E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10232E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10346E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .19256       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.573       1.0000         .10000E-03   10000.    
    22 'Prefactor '    45.831       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    6.3783       1.0000         .10000E-03   10000.    
    26 'norm      '    12.400       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10751E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .89172       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1538       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4817.710     FROM MIGRAD    STATUS=CONVERGED    770 CALLS     3190 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8433        3.9598       -.12690E-06   -.13489E-03
   2  Prefactor     .10000E-03    12.631        .72340E-06** at limit **
   3  Prefactor     .10000E-03    8.6763       -.16871E-05** at limit **
   4  norm          3.1070        3.8226       -.88162E-07   -.30231E-04
   5  norm          2.1735        6.2974       -.88852E-06   -.62939E-03
   6  norm          5.1006        9.0371        .22194E-06   -.14366E-03
   7  norm          21.437        16.926        .18710E-05    .52997E-04
   8  Prefactor     .10000E-03    2.3432       -.59974E-07** at limit **
   9  Prefactor     .10000E-03    5.8389        .30108E-05** at limit **
  10  norm          .10000E-03    10.569       -.48335E-05** at limit **
  11  Prefactor     .10000E-03    21.412        .23665E-05** at limit **
  12  norm          2.7439        7.9610       -.11670E-05   -.18950E-03
  13  Prefactor     .10000E-03    4.7119       -.60221E-07** at limit **
  14  Prefactor     16.108        15.383        .21064E-05    .44673E-04
  15  Prefactor     5.0879        295.01       -.13234E-04   -.33631E-06
  16  Prefactor     .10003E-03    2.2885       -.94360E-06** at limit **
  17  Prefactor     .10000E-03    9.5279        .40626E-05** at limit **
  18  norm          .10000E-03    5.8813       -.33833E-05** at limit **
  19  Prefactor     .10000E-03    6.5207        .75383E-06** at limit **
  20  norm          .21660        3.2610        .14976E-05   -.67891E-03
  21  Prefactor     17.548        19.395        .67570E-05   -.13598E-03
  22  Prefactor     45.824        29.397       -.12224E-04   -.12495E-03
  23  Prefactor     .10000E-03    2.5014        .63957E-07** at limit **
  24  norm          .10000E-03    6.9101       -.21674E-06** at limit **
  25  norm          6.3774        3.2251       -.56351E-07   -.32832E-04
  26  norm          12.419        15.659       -.49601E-05   -.14727E-03
  27  Prefactor     .10000E-03    13.720        .49511E-05** at limit **
  28  Normalizat    .89232        .19694        .33071E-05   -.51574E-04
  29  Prefactor     1.1529        .20909       -.11160E-05    .15731E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.84335
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.107
  norm       = 2.17352
  norm       = 5.10056
  norm       = 21.4374
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.74386
  Prefactor  = 0.0001
  Prefactor  = 16.1079
  Prefactor  = 5.08785
  Prefactor  = 0.000100029
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.216599
  Prefactor  = 17.5481
  Prefactor  = 45.8242
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.37739
  norm       = 12.4187
  Prefactor  = 0.0001
  Normalizat = 0.892316
  Prefactor  = 1.15293
 **********
 **   18 **HESSE 
 **********

 FCN=   4817.710     FROM HESSE     STATUS=OK           551 CALLS     3741 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8433        3.9376        .15647E-03   -1.5371    
   2  Prefactor     .10000E-03    12.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.6948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.1070        3.8144        .14615E-03   -1.5355    
   5  norm          2.1735        6.5230        .17638E-03   -1.5413    
   6  norm          5.1006        9.3622        .16994E-03   -1.5256    
   7  norm          21.437        16.931        .86484E-04   -1.4782    
   8  Prefactor     .10000E-03    2.4060        .20696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.8519        .16372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    10.966        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.7439        7.9302        .24617E-03   -1.5377    
  13  Prefactor     .10000E-03    4.7176        .14714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.108        15.394        .99796E-04   -1.4905    
  15  Prefactor     5.0879        301.26        .17300E-03   -1.5257    
  16  Prefactor     .10003E-03    16.317        .19958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.5694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.8806        .16427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.5239        .17313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .21660        31.638        .23151E-02   -1.5615    
  21  Prefactor     17.548        19.358        .95542E-04   -1.4870    
  22  Prefactor     45.824        29.312        .59225E-04   -1.4353    
  23  Prefactor     .10000E-03    2.5601        .21419E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    6.9132        .17818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          6.3774        3.2301        .85722E-04   -1.5203    
  26  norm          12.419        15.672        .11376E-03   -1.5003    
  27  Prefactor     .10000E-03    13.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .89232        .23581        .24180E-03   -.96731    
  29  Prefactor     1.1529        .25340        .24662E-03   -.87792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.709e-09
Minuit parameter uncertainties:
  1  3.93791
  2  9.30426e-07
  3  3.24875e-06
  4  3.81466
  5  6.52516
  6  9.36488
  7  16.935
  8  5.72981e-06
  9  4.36096e-06
  10  4.60878e-05
  11  7.97327e-06
  12  7.93319
  13  7.31311e-06
  14  15.3982
  15  78.7191
  16  0.00136643
  17  3.06189e-05
  18  1.22586e-05
  19  1.58895e-05
  20  5.23716
  21  19.3649
  22  29.3214
  23  2.12979e-06
  24  2.48837e-05
  25  3.23014
  26  15.6768
  27  5.03093e-06
  28  0.236082
  29  0.253663
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  1.366e-03  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.415e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  1.153e+00  2.537e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  8.923e-01  2.361e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 207.715 30.559
Photon Flux Upper Limit: 7.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/1839/likelihoodResults_257990401_258249601_4FGL_J1350.8+3033_daily_bin72.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) = 4817.70992297
delta logL = -0.00029199209439

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4817.70963068
delta logL = 2.89453055302e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18323E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5299       1.0000          .0000       10.000    
     3 'Normalizat'    .89240       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1531       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4817.513     FROM MIGRAD    STATUS=CONVERGED    131 CALLS      315 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59554E-01    .21764        .63413E-02   -.39357E-02
   2  Index         4.9078        1.4487        .17627        .11804E-03
   3  Normalizat    .85689        .19133        .44804E-01    .30526E-03
   4  Prefactor     1.1783        .20980        .55266E-01    .32386E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0595536
  Index      = 4.90779
  Normalizat = 0.856886
  Prefactor  = 1.17832
 **********
 **   18 **HESSE 
 **********

 FCN=   4817.513     FROM HESSE     STATUS=OK            31 CALLS      346 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59554E-01    .57684        .29326E-03   -1.5757    
   2  Index         4.9078        3.2319        .93234E-02   -.18444E-01
   3  Normalizat    .85689        .22046        .24639E-03   -.97992    
   4  Prefactor     1.1783        .24891        .24436E-03   -.87001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.1779e-10
Minuit parameter uncertainties:
  1  0.370385
  2  3.51432
  3  0.22069
  4  0.249158
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/1839': 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) = 4817.51319835
delta logL = 0.196432625324

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  5.955e-02  3.704e-01  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  4.908e+00  3.514e+00  0.000e+00  1.000e+01 (-1.000e+00)
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  1.178e+00  2.492e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  8.569e-01  2.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 207.715 30.559

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/1839/cmap_HighResolution_257990401_258249601_4FGL_J1350.8+3033_daily_bin72.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.11e-03', job_status='DONE', photon_flux_upper_limit='7.90e-08', time_completed='2021-09-08 14:52:19.517855', job_id='1839', GAL2='1.18', fit_tolerance='1e-08', EG2='0.86', EG='0.89', time_epoch_completed='1631137939.52', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.96e-01', ts2='0.43', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='72' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:52:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 1839: <4FGL_J1350.8+3033_daily_bin72> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin72> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep  8 14:40:21 2021
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:40:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 14:40:55 2021
Terminated at Wed Sep  8 14:52:19 2021
Results reported at Wed Sep  8 14:52:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin72 207.715 30.5588 257990401 258249601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1350.8+3033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   666.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             299.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            718 sec.

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

