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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin553
RA = 207.715, Dec = 30.5588
tmin = 382665601, tmax = 382924801
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='5588', job_status='RUN', time_executed='2021-09-08 14:50:34.229863', time_epoch_executed='1631137834.23' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='553'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/5588

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/5588/ft1_4FGL_J1350.8+3033_daily_bin553.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/5588/ft2_4FGL_J1350.8+3033_daily_bin553.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/5588/ft1_4FGL_J1350.8+3033_daily_bin553.fits outfile=/scratch/kocevski/5588/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin553.fits ra=207.715 dec=30.5588 rad=12.0 tmin=382665601.0 tmax=382924801.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 2.94
user 2.55
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/5588/ft2_4FGL_J1350.8+3033_daily_bin553.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/5588/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin553.fits evtable="EVENTS" outfile="/scratch/kocevski/5588/ft1_filtered_4FGL_J1350.8+3033_daily_bin553.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.44
user 0.27
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/5588/ft1_filtered_4FGL_J1350.8+3033_daily_bin553.fits" evtable="EVENTS" scfile=/scratch/kocevski/5588/ft2_4FGL_J1350.8+3033_daily_bin553.fits sctable="SC_DATA" outfile=/scratch/kocevski/5588/ltcube_382665601_382924801_4FGL_J1350.8+3033_daily_bin553.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/5588/ft2_4FGL_J1350.8+3033_daily_bin553.fits
.....................!
real 11.85
user 11.47
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/5588/ft1_filtered_4FGL_J1350.8+3033_daily_bin553.fits evtable="EVENTS" scfile=/scratch/kocevski/5588/ft2_4FGL_J1350.8+3033_daily_bin553.fits sctable="SC_DATA" expcube=/scratch/kocevski/5588/ltcube_382665601_382924801_4FGL_J1350.8+3033_daily_bin553.fits outfile=/scratch/kocevski/5588/expmap_382665601_382924801_4FGL_J1350.8+3033_daily_bin553.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/5588/ltcube_382665601_382924801_4FGL_J1350.8+3033_daily_bin553.fits
.....................!
real 158.09
user 152.43
sys 4.39

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/5588/ft1_filtered_4FGL_J1350.8+3033_daily_bin553.fits scfile=/scratch/kocevski/5588/ft2_4FGL_J1350.8+3033_daily_bin553.fits outfile=/scratch/kocevski/5588/cmap_382665601_382924801_4FGL_J1350.8+3033_daily_bin553.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.48
user 0.31
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/5588/ft1_filtered_4FGL_J1350.8+3033_daily_bin553.fits scfile=/scratch/kocevski/5588/ft2_4FGL_J1350.8+3033_daily_bin553.fits outfile=/scratch/kocevski/5588/cmap_HighResolution_382665601_382924801_4FGL_J1350.8+3033_daily_bin553.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.48
user 0.32
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/5588/ft1_filtered_4FGL_J1350.8+3033_daily_bin553.fits', '/scratch/kocevski/5588/ft2_4FGL_J1350.8+3033_daily_bin553.fits', expMap='/scratch/kocevski/5588/expmap_382665601_382924801_4FGL_J1350.8+3033_daily_bin553.fits', expCube='/scratch/kocevski/5588/ltcube_382665601_382924801_4FGL_J1350.8+3033_daily_bin553.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/5588/Model_4FGL_J1350.8+3033_daily_bin553.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/5588/ft1_filtered_4FGL_J1350.8+3033_daily_bin553.fits
Spacecraft file(s): /scratch/kocevski/5588/ft2_4FGL_J1350.8+3033_daily_bin553.fits
Exposure map: /scratch/kocevski/5588/expmap_382665601_382924801_4FGL_J1350.8+3033_daily_bin553.fits
Exposure cube: /scratch/kocevski/5588/ltcube_382665601_382924801_4FGL_J1350.8+3033_daily_bin553.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/5588/Model_4FGL_J1350.8+3033_daily_bin553.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) = 5247.12391017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.9751       1.0000         .10000E-03   10000.    
     5 'norm      '    8.2759       1.0000         .10000E-03   10000.    
     6 'norm      '    2.5969       1.0000         .10000E-03   10000.    
     7 'norm      '    23.252       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    42.773       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.0379       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.429       1.0000         .10000E-03   10000.    
    15 'Prefactor '    69.932       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12529E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.674       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.183       1.0000         .10000E-03   10000.    
    20 'norm      '    2.8557       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.5921       1.0000         .10000E-03   10000.    
    24 'norm      '    16.581       1.0000         .10000E-03   10000.    
    25 'norm      '    17.565       1.0000         .10000E-03   10000.    
    26 'norm      '    9.6231       1.0000         .10000E-03   10000.    
    27 'Prefactor '    43.668       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .73129       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .95870       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=   5247.120     FROM MIGRAD    STATUS=CONVERGED    697 CALLS     3649 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.9105       -.27428E-08** at limit **
   2  Prefactor     .10000E-03    10.638        .14814E-05** at limit **
   3  Prefactor     .10000E-03    9.1884       -.91714E-06** at limit **
   4  norm          1.9746        2.6729        .38117E-07   -.91640E-05
   5  norm          8.2737        5.5159       -.15032E-06   -.21561E-03
   6  norm          2.5979        7.8894        .43643E-06   -.17952E-03
   7  norm          23.252        16.500       -.28895E-07   -.56252E-05
   8  Prefactor     .10000E-03    1.6332        .55502E-07** at limit **
   9  Prefactor     .10000E-03    5.3233       -.14611E-06** at limit **
  10  norm          42.773        10.921       -.16613E-06   -.35508E-04
  11  Prefactor     .10000E-03    20.073       -.29600E-06** at limit **
  12  norm          4.0378        5.0328        .10849E-05   -.81164E-03
  13  Prefactor     .10000E-03    6.2654        .11642E-05** at limit **
  14  Prefactor     31.433        24.362        .17378E-05    .27388E-03
  15  Prefactor     69.929        60.357       -.10949E-05   -.79461E-04
  16  Prefactor     .10000E-03    2.4824       -.10578E-06** at limit **
  17  Prefactor     11.673        12.031       -.73958E-07   -.54821E-04
  18  norm          .10000E-03    8.2359       -.86769E-06** at limit **
  19  Prefactor     15.184        13.074        .50898E-07    .17267E-04
  20  norm          2.8560        2.7451       -.19684E-08   -.31065E-04
  21  Prefactor     .10000E-03    4.3725        .56704E-06** at limit **
  22  Prefactor     .10000E-03    4.7284       -.70256E-06** at limit **
  23  Prefactor     6.5923        3.9284        .64881E-07    .65319E-06
  24  norm          16.581        14.273        .11410E-06   -.73288E-04
  25  norm          17.564        4.3435        .94267E-08   -.14716E-04
  26  norm          9.6231        9.4188        .68897E-06   -.40776E-03
  27  Prefactor     43.668        47.302       -.75895E-07   -.92592E-05
  28  Normalizat    .73122        .17614       -.27450E-06   -.79402E-05
  29  Prefactor     .95879        .19179       -.20276E-06   -.14738E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.9746
  norm       = 8.27368
  norm       = 2.59787
  norm       = 23.2521
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 42.7728
  Prefactor  = 0.0001
  norm       = 4.03778
  Prefactor  = 0.0001
  Prefactor  = 31.4331
  Prefactor  = 69.9293
  Prefactor  = 0.0001
  Prefactor  = 11.6735
  norm       = 0.0001
  Prefactor  = 15.1835
  norm       = 2.85601
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.59226
  norm       = 16.5805
  norm       = 17.5644
  norm       = 9.62313
  Prefactor  = 43.6678
  Normalizat = 0.731216
  Prefactor  = 0.958792
 **********
 **   18 **HESSE 
 **********

 FCN=   5247.120     FROM HESSE     STATUS=OK           557 CALLS     4206 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.9578        .12062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.2927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.9746        2.6543        .13399E-03   -1.5427    
   5  norm          8.2737        5.4747        .10084E-03   -1.5133    
   6  norm          2.5979        7.8939        .25318E-03   -1.5386    
   7  norm          23.252        16.500        .83068E-04   -1.4743    
   8  Prefactor     .10000E-03    2.6479        .17695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.3413        .16316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          42.773        10.945        .61297E-04   -1.4399    
  11  Prefactor     .10000E-03    20.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.0378        5.6344        .96812E-03   -1.5306    
  13  Prefactor     .10000E-03    6.3539        .17809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.433        25.055        .71472E-04   -1.4586    
  15  Prefactor     69.929        60.934        .48002E-04   -1.4034    
  16  Prefactor     .10000E-03    4.5521        .21878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.673        12.044        .11725E-03   -1.5025    
  18  norm          .10000E-03    8.3399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.184        13.078        .10279E-03   -1.4928    
  20  norm          2.8560        2.7378        .11384E-03   -1.5370    
  21  Prefactor     .10000E-03    4.4156        .14851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.7852        .15466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.5923        3.9293        .10519E-03   -1.5194    
  24  norm          16.581        14.269        .49180E-03   -1.4893    
  25  norm          17.564        4.3468        .72428E-04   -1.4870    
  26  norm          9.6231        9.7151        .64591E-03   -1.5087    
  27  Prefactor     43.668        47.316        .60668E-04   -1.4385    
  28  Normalizat    .73122        .20256        .24879E-03   -1.0267    
  29  Prefactor     .95879        .22270        .25113E-03   -.94116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09596e-09
Minuit parameter uncertainties:
  1  8.47361e-07
  2  0.000162274
  3  8.87698e-05
  4  2.65447
  5  5.47505
  6  7.89703
  7  16.5037
  8  1.08216e-05
  9  9.51897e-06
  10  10.9458
  11  4.02349e-05
  12  5.6351
  13  8.02774e-05
  14  25.0635
  15  60.9882
  16  3.20451e-06
  17  12.047
  18  7.6495e-05
  19  13.0804
  20  2.73796
  21  3.97324e-05
  22  5.00101e-05
  23  3.92949
  24  14.2716
  25  4.34687
  26  9.7167
  27  47.3568
  28  0.202773
  29  0.222911
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  3.205e-06  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:  9.588e-01  2.229e-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:  7.312e-01  2.028e-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: 6.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/5588/likelihoodResults_382665601_382924801_4FGL_J1350.8+3033_daily_bin553.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) = 5247.12101518
delta logL = -0.00104630962323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5247.11996902
delta logL = -1.55356246978e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4250       1.0000          .0000       10.000    
     3 'Normalizat'    .73119       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95888       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=   5247.120     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      221 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.4680        .39017E-01** at limit **
   2  Index         2.4349        5.3592        .50000       -.19755E-04
   3  Normalizat    .73122        .76911E-02    .42705E-01   -.38884E-04
   4  Prefactor     .95879        .88393E-02    .45751E-01   -.45976E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.43489
  Normalizat = 0.731216
  Prefactor  = 0.958792
 **********
 **   18 **HESSE 
 **********

 FCN=   5247.120     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      256 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1009.7        .21838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4349        6.1336        .50000       -.53870    
   3  Normalizat    .73122        .12401        .24879E-03   -1.0267    
   4  Prefactor     .95879        .14094        .25113E-03   -.94116    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.73631e-08
Minuit parameter uncertainties:
  1  0.000540209
  2  64.8487
  3  0.124055
  4  0.14099
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/5588': 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) = 5247.11996878
delta logL = 8.76843841979e-08

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  5.402e-04  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.435e+00  6.485e+01  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:  9.588e-01  1.410e-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:  7.312e-01  1.241e-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/5588/cmap_HighResolution_382665601_382924801_4FGL_J1350.8+3033_daily_bin553.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.17e-03', job_status='DONE', photon_flux_upper_limit='6.69e-08', time_completed='2021-09-08 15:00:36.900029', job_id='5588', GAL2='0.96', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1631138436.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='8.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='553' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:00:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 5588: <4FGL_J1350.8+3033_daily_bin553> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin553> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 14:50:17 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:50:24 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:50:24 2021
Terminated at Wed Sep  8 15:00:37 2021
Results reported at Wed Sep  8 15:00:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin553 207.715 30.5588 382665601 382924801 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 :                                   598.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            620 sec.

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

