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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin1500
RA = 207.715, Dec = 30.5588
tmin = 628128001, tmax = 628387201
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='10581', job_status='RUN', time_executed='2021-09-08 15:07:46.344400', time_epoch_executed='1631138866.34' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='1500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/10581

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/10581/ft1_4FGL_J1350.8+3033_daily_bin1500.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/10581/ft2_4FGL_J1350.8+3033_daily_bin1500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/10581/ft1_4FGL_J1350.8+3033_daily_bin1500.fits outfile=/scratch/kocevski/10581/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin1500.fits ra=207.715 dec=30.5588 rad=12.0 tmin=628128001.0 tmax=628387201.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 5.32
user 5.05
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/10581/ft1_filtered_4FGL_J1350.8+3033_daily_bin1500.fits" evtable="EVENTS" scfile=/scratch/kocevski/10581/ft2_4FGL_J1350.8+3033_daily_bin1500.fits sctable="SC_DATA" outfile=/scratch/kocevski/10581/ltcube_628128001_628387201_4FGL_J1350.8+3033_daily_bin1500.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/10581/ft2_4FGL_J1350.8+3033_daily_bin1500.fits
.....................!
real 15.58
user 15.15
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/10581/ft1_filtered_4FGL_J1350.8+3033_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/10581/ft2_4FGL_J1350.8+3033_daily_bin1500.fits sctable="SC_DATA" expcube=/scratch/kocevski/10581/ltcube_628128001_628387201_4FGL_J1350.8+3033_daily_bin1500.fits outfile=/scratch/kocevski/10581/expmap_628128001_628387201_4FGL_J1350.8+3033_daily_bin1500.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/10581/ltcube_628128001_628387201_4FGL_J1350.8+3033_daily_bin1500.fits
.....................!
real 192.23
user 186.88
sys 4.82

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/10581/ft1_filtered_4FGL_J1350.8+3033_daily_bin1500.fits scfile=/scratch/kocevski/10581/ft2_4FGL_J1350.8+3033_daily_bin1500.fits outfile=/scratch/kocevski/10581/cmap_628128001_628387201_4FGL_J1350.8+3033_daily_bin1500.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.61
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/10581/ft1_filtered_4FGL_J1350.8+3033_daily_bin1500.fits scfile=/scratch/kocevski/10581/ft2_4FGL_J1350.8+3033_daily_bin1500.fits outfile=/scratch/kocevski/10581/cmap_HighResolution_628128001_628387201_4FGL_J1350.8+3033_daily_bin1500.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.59
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.286       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.288       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.8427       1.0000         .10000E-03   10000.    
     4 'norm      '    .10781E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.3118       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7760       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8501       1.0000         .10000E-03   10000.    
    10 'norm      '    10.273       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.4829       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.8602       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6652       1.0000         .10000E-03   10000.    
    18 'norm      '    .81894       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.590       1.0000         .10000E-03   10000.    
    20 'norm      '    .10599E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12830E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    24.211       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.7494       1.0000         .10000E-03   10000.    
    24 'norm      '    9.5412       1.0000         .10000E-03   10000.    
    25 'norm      '    2.4567       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    22.854       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2731       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .91882       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=   6418.400     FROM MIGRAD    STATUS=CONVERGED    746 CALLS     3729 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.286        6.5294        .12784E-08    .22320E-04
   2  Prefactor     26.278        34.043        .30107E-07   -.25312E-04
   3  Prefactor     8.8310        17.910       -.23017E-06    .62245E-04
   4  norm          .10000E-03    4.4106        .69004E-06** at limit **
   5  norm          .10000E-03    1.1790       -.36052E-07** at limit **
   6  norm          .10000E-03    1.5770       -.26162E-07** at limit **
   7  norm          4.3074        21.075        .55962E-06    .45077E-04
   8  Prefactor     1.7738        3.7594       -.20977E-05   -.13094E-03
   9  Prefactor     1.8582        28.308        .18986E-04   -.14653E-04
  10  norm          10.272        7.0317        .25575E-06    .16017E-03
  11  Prefactor     .10000E-03    17.159        .41589E-07** at limit **
  12  norm          .10000E-03    3.7088        .75655E-07** at limit **
  13  Prefactor     .10000E-03    10.440        .11000E-05** at limit **
  14  Prefactor     1.4306        54.878       -.45938E-06    .17433E-03
  15  Prefactor     .10000E-03    36.582        .84510E-06** at limit **
  16  Prefactor     9.8584        5.3641        .18653E-06    .43544E-03
  17  Prefactor     4.6655        11.411        .29410E-05    .20508E-04
  18  norm          .82305        9.0946        .14334E-05   -.11147E-03
  19  Prefactor     10.591        15.867        .26951E-06    .17235E-03
  20  norm          .10000E-03    3.7854       -.16748E-05** at limit **
  21  Prefactor     .10000E-03    26.362       -.18968E-05** at limit **
  22  Prefactor     24.218        18.434        .92694E-06    .29992E-03
  23  Prefactor     2.7454        4.6061        .45909E-05    .12152E-03
  24  norm          9.5417        10.702        .17163E-06    .21234E-03
  25  norm          2.4569        2.0172        .43027E-07    .93613E-05
  26  norm          .10000E-03    2.9994       -.12761E-06** at limit **
  27  Prefactor     22.777        41.493        .12026E-05   -.23753E-03
  28  Normalizat    1.2734        .18566       -.15548E-05    .73958E-03
  29  Prefactor     .91849        .19272       -.30637E-06    .40354E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2863
  Prefactor  = 26.2777
  Prefactor  = 8.83097
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.3074
  Prefactor  = 1.77381
  Prefactor  = 1.85819
  norm       = 10.2719
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.43059
  Prefactor  = 0.000100002
  Prefactor  = 9.85842
  Prefactor  = 4.66548
  norm       = 0.823047
  Prefactor  = 10.5908
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 24.2178
  Prefactor  = 2.74539
  norm       = 9.54175
  norm       = 2.45691
  norm       = 0.0001
  Prefactor  = 22.7767
  Normalizat = 1.27337
  Prefactor  = 0.91849
 **********
 **   18 **HESSE 
 **********

 FCN=   6418.400     FROM HESSE     STATUS=OK           555 CALLS     4284 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.286        6.5300        .12493E-03   -1.5066    
   2  Prefactor     26.278        33.977        .39066E-03   -1.4682    
   3  Prefactor     8.8310        17.855        .13479E-03   -1.5114    
   4  norm          .10000E-03    4.5009        .32762E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.1833        .84859E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.5778        .98242E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.3074        20.993        .19400E-03   -1.5293    
   8  Prefactor     1.7738        3.6403        .17896E-03   -1.5442    
   9  Prefactor     1.8582        27.577        .15326E-02   -1.5435    
  10  norm          10.272        7.0163        .12501E-03   -1.5067    
  11  Prefactor     .10000E-03    17.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.7164        .15061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.4306        55.344        .35237E-03   -1.5469    
  15  Prefactor     .10000E-03    36.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.8584        5.3835        .12761E-03   -1.5080    
  17  Prefactor     4.6655        11.376        .93162E-03   -1.5276    
  18  norm          .82305        28.901        .45955E-02   -1.5527    
  19  Prefactor     10.591        15.830        .12312E-03   -1.5057    
  20  norm          .10000E-03    9.0584        .29450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    26.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     24.218        18.430        .81410E-04   -1.4723    
  23  Prefactor     2.7454        4.5539        .10248E-02   -1.5377    
  24  norm          9.5417        10.672        .12974E-03   -1.5090    
  25  norm          2.4569        2.0198        .99839E-04   -1.5394    
  26  norm          .10000E-03    3.0046        .13551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     22.777        41.661        .83788E-04   -1.4753    
  28  Normalizat    1.2734        .22359        .23280E-03   -.84365    
  29  Prefactor     .91849        .23174        .29457E-03   -.95498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71073e-08
Minuit parameter uncertainties:
  1  6.53046
  2  34.0022
  3  17.8659
  4  8.44135e-05
  5  4.91337e-06
  6  2.61026e-06
  7  19.0292
  8  3.64077
  9  14.3245
  10  7.0169
  11  5.67917e-05
  12  7.99255e-06
  13  0.000219907
  14  17.8132
  15  0.000599696
  16  5.38374
  17  11.3816
  18  9.75894
  19  15.8367
  20  0.000231423
  21  0.000224684
  22  18.4344
  23  4.55452
  24  10.6738
  25  2.01984
  26  1.41684e-05
  27  41.7145
  28  0.223759
  29  0.231988
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  9.858e+00  5.384e+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

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.185e-01  2.320e-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:  1.273e+00  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.18
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 8.00e-08 +/- 4.37e-08
Energy Flux (Fixed Index): 2.57e-05 +/- 1.40e-05

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) = 6418.32753151
delta logL = 0.0725452611796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6418.32359066
delta logL = 0.0764861079206

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6418.324     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      280 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5408        6.5781        .11597E-03    .52123E-03
   2  Index         2.6318        .62130        .59270E-02    .94200E-04
   3  Normalizat    1.2562        .21374        .23414E-03   -.15006E-03
   4  Prefactor     .93203        .22971        .29272E-03   -.15403E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.54081
  Index      = 2.63176
  Normalizat = 1.25619
  Prefactor  = 0.932031
 **********
 **   18 **HESSE 
 **********

 FCN=   6418.324     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5408        6.2021        .46389E-05   -1.5123    
   2  Index         2.6318        .58527        .23708E-03   -.49343    
   3  Normalizat    1.2562        .21366        .46828E-04   -.84884    
   4  Prefactor     .93203        .22960        .11709E-04   -.95031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24428e-10
Minuit parameter uncertainties:
  1  6.20262
  2  0.587012
  3  0.213806
  4  0.229835
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/10581': 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) = 6418.32359066
delta logL = 0.0764861147709

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  8.541e+00  6.203e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.632e+00  5.870e-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.320e-01  2.298e-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:  1.256e+00  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.31
Ra Dec: 207.715 30.559
Photon Index (Free Index): 2.63 +/- 0.59
Photon Flux (Free Index): 9.20e-08 +/- 5.55e-08
Energy Flux (Free Index): 2.34e-05 +/- 1.34e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/10581/cmap_HighResolution_628128001_628387201_4FGL_J1350.8+3033_daily_bin1500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.00e-08', energy_flux2='2.34e-05', photon_flux_error='4.37e-08', dlogl='7.65e-02', energy_flux='2.57e-05', photon_flux2='9.20e-08', job_status='DONE', time_completed='2021-09-08 15:20:30.692477', photon_index_error2='0.59', photon_index2='2.63', ts='5.18', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.34e-05', EG='1.27', time_epoch_completed='1631139630.69', return_code='0', job_id='10581', GAL2='0.93', EG2='1.26', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='5.55e-08', ts2='5.31', photon_index='2.42' WHERE bin_id='1500' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:20:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 10581: <4FGL_J1350.8+3033_daily_bin1500> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin1500> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 15:05:53 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:07:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 15:07:31 2021
Terminated at Wed Sep  8 15:20:31 2021
Results reported at Wed Sep  8 15:20:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin1500 207.715 30.5588 628128001 628387201 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 :                                   734.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            878 sec.

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

