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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin969
RA = 207.715, Dec = 30.5588
tmin = 490492801, tmax = 490752001
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='8515', job_status='RUN', time_executed='2021-09-08 15:00:32.339130', time_epoch_executed='1631138432.34' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='969'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/8515

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/8515/ft1_4FGL_J1350.8+3033_daily_bin969.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/8515/ft2_4FGL_J1350.8+3033_daily_bin969.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/8515/ft1_4FGL_J1350.8+3033_daily_bin969.fits outfile=/scratch/kocevski/8515/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin969.fits ra=207.715 dec=30.5588 rad=12.0 tmin=490492801.0 tmax=490752001.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.98
user 5.69
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/8515/ft2_4FGL_J1350.8+3033_daily_bin969.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/8515/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin969.fits evtable="EVENTS" outfile="/scratch/kocevski/8515/ft1_filtered_4FGL_J1350.8+3033_daily_bin969.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.37
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/8515/ft1_filtered_4FGL_J1350.8+3033_daily_bin969.fits" evtable="EVENTS" scfile=/scratch/kocevski/8515/ft2_4FGL_J1350.8+3033_daily_bin969.fits sctable="SC_DATA" outfile=/scratch/kocevski/8515/ltcube_490492801_490752001_4FGL_J1350.8+3033_daily_bin969.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/8515/ft2_4FGL_J1350.8+3033_daily_bin969.fits
.....................!
real 17.28
user 16.89
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/8515/ft1_filtered_4FGL_J1350.8+3033_daily_bin969.fits evtable="EVENTS" scfile=/scratch/kocevski/8515/ft2_4FGL_J1350.8+3033_daily_bin969.fits sctable="SC_DATA" expcube=/scratch/kocevski/8515/ltcube_490492801_490752001_4FGL_J1350.8+3033_daily_bin969.fits outfile=/scratch/kocevski/8515/expmap_490492801_490752001_4FGL_J1350.8+3033_daily_bin969.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/8515/ltcube_490492801_490752001_4FGL_J1350.8+3033_daily_bin969.fits
.....................!
real 193.33
user 187.89
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/8515/ft1_filtered_4FGL_J1350.8+3033_daily_bin969.fits scfile=/scratch/kocevski/8515/ft2_4FGL_J1350.8+3033_daily_bin969.fits outfile=/scratch/kocevski/8515/cmap_490492801_490752001_4FGL_J1350.8+3033_daily_bin969.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/8515/ft1_filtered_4FGL_J1350.8+3033_daily_bin969.fits scfile=/scratch/kocevski/8515/ft2_4FGL_J1350.8+3033_daily_bin969.fits outfile=/scratch/kocevski/8515/cmap_HighResolution_490492801_490752001_4FGL_J1350.8+3033_daily_bin969.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.58
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.067       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .92485E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    15.092       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5977       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10575E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    30.987       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.165       1.0000         .10000E-03   10000.    
    15 'Prefactor '    74.131       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.9551       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.007       1.0000         .10000E-03   10000.    
    18 'norm      '    .14531E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8404       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .64662       1.0000         .10000E-03   10000.    
    24 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    4.9368       1.0000         .10000E-03   10000.    
    26 'norm      '    6.7225       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .70541       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .88307       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0530       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4619.688     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     3655 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.074        7.7364       -.44925E-07   -.42945E-02
   2  Prefactor     .23652E-03    326.60       -.16939E-04** at limit **
   3  Prefactor     .10000E-03    5.1988       -.33621E-06** at limit **
   4  norm          .10000E-03    2.8634       -.15610E-06** at limit **
   5  norm          .10000E-03    1.6279       -.57857E-06** at limit **
   6  norm          .10000E-03    2.7473       -.34407E-06** at limit **
   7  norm          15.101        2.6048        .28882E-07    .12391E-02
   8  Prefactor     3.5993        3.5964        .30170E-06    .17149E-03
   9  Prefactor     .10006E-03    19.496        .12861E-06** at limit **
  10  norm          .10000E-03    4.9899        .55246E-07** at limit **
  11  Prefactor     .10000E-03    7.4264       -.41799E-06** at limit **
  12  norm          30.985        1.2270        .55223E-07    .18535E-03
  13  Prefactor     .10000E-03    7.8421       -.61111E-07** at limit **
  14  Prefactor     19.148        4.2172       -.13184E-06   -.39836E-02
  15  Prefactor     74.114        3.3011       -.18020E-06    .18422E-02
  16  Prefactor     1.9508        5.6681       -.60888E-06   -.17573E-03
  17  Prefactor     12.006        1.7895        .11281E-06    .61110E-04
  18  norm          .10144E-03    75.017        .22942E-05** at limit **
  19  Prefactor     7.8385        1.0342        .43683E-07   -.36003E-04
  20  norm          .10000E-03    1.0664       -.30775E-06** at limit **
  21  Prefactor     .10000E-03    10.018       -.77128E-06** at limit **
  22  Prefactor     .10005E-03    15.121       -.69035E-06** at limit **
  23  Prefactor     .64555        4.0300        .56605E-06    .57753E-04
  24  norm          .10004E-03    40.854        .33646E-05** at limit **
  25  norm          4.9373        3.2738       -.23274E-06   -.10884E-03
  26  norm          6.7125        1.3735       -.30795E-07    .22954E-03
  27  Prefactor     .88365        332.66        .18004E-04   -.13787E-02
  28  Normalizat    .88403        .24036        .15527E-05    .14099E-03
  29  Prefactor     1.0523        .25618        .21076E-07    .12417E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.0737
  Prefactor  = 0.000236517
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 15.1009
  Prefactor  = 3.59925
  Prefactor  = 0.000100063
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 30.9855
  Prefactor  = 0.0001
  Prefactor  = 19.1479
  Prefactor  = 74.1143
  Prefactor  = 1.95076
  Prefactor  = 12.0061
  norm       = 0.000101438
  Prefactor  = 7.83848
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100052
  Prefactor  = 0.645548
  norm       = 0.000100037
  norm       = 4.93729
  norm       = 6.7125
  Prefactor  = 0.883648
  Normalizat = 0.884026
  Prefactor  = 1.05227
 **********
 **   18 **HESSE 
 **********

 FCN=   4619.688     FROM HESSE     STATUS=OK           629 CALLS     4284 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.074        7.9929        .24237E-02   -1.4881    
   2  Prefactor     .23652E-03    23.209        .11442       -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.1981        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.8474        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.6153        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.7411        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.101        22.178        .25775E-02   -1.4931    
   8  Prefactor     3.5993        3.6319        .53259E-02   -1.5329    
   9  Prefactor     .10006E-03    21.067        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.9756        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.741        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          30.985        14.321        .17994E-02   -1.4594    
  13  Prefactor     .10000E-03    7.8305        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.148        29.718        .22872E-02   -1.4833    
  15  Prefactor     74.114        105.78        .11658E-02   -1.3984    
  16  Prefactor     1.9508        5.7649        .74185E-02   -1.5429    
  17  Prefactor     12.006        17.181        .28902E-02   -1.5015    
  18  norm          .10144E-03    12.615        .10248       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.8385        15.268        .35801E-02   -1.5148    
  20  norm          .10000E-03    1.0658        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.9715        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10005E-03    20.160        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .64555        4.0623        .11855E-01   -1.5547    
  24  norm          .10004E-03    39.191        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          4.9373        3.2833        .45254E-02   -1.5264    
  26  norm          6.7125        15.679        .38690E-02   -1.5190    
  27  Prefactor     .88365        85.488        .15972       -1.5520    
  28  Normalizat    .88403        .22402        .44685E-01   -.97024    
  29  Prefactor     1.0523        .22067        .39736E-01   -.91007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.43256e-07
Minuit parameter uncertainties:
  1  7.99339
  2  0.112621
  3  6.88434e-06
  4  2.66652e-06
  5  8.37859e-06
  6  6.35808e-06
  7  22.1899
  8  3.63213
  9  0.00230412
  10  3.54595e-07
  11  5.71678e-05
  12  14.3229
  13  2.63461e-06
  14  29.7408
  15  106.052
  16  5.76649
  17  17.1877
  18  0.0085194
  19  15.2759
  20  3.45699e-06
  21  4.86812e-05
  22  0.00204222
  23  3.23885
  24  0.00241054
  25  3.28345
  26  15.689
  27  17.4075
  28  0.224258
  29  0.22086
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.951e+00  5.766e+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:  1.052e+00  2.209e-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.840e-01  2.243e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 207.715 30.559
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/8515/likelihoodResults_490492801_490752001_4FGL_J1350.8+3033_daily_bin969.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) = 4619.47664324
delta logL = 0.211627452446

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4619.47246588
delta logL = 0.215804806321

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2452       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5778       1.0000          .0000       10.000    
     3 'Normalizat'    .89935       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0381       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=   4619.472     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      201 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2452        3.8401        .68565E-02    .36533E-02
   2  Index         1.5776        .54823        .28978       -.44044E-04
   3  Normalizat    .89942        .20033        .44893E-01    .10019E-04
   4  Prefactor     1.0381        .21469        .40660E-01    .49228E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.24524
  Index      = 1.57757
  Normalizat = 0.899423
  Prefactor  = 1.03807
 **********
 **   18 **HESSE 
 **********

 FCN=   4619.472     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2452        4.6807        .16794E-03   -1.5408    
   2  Index         1.5776        .91265        .99341E-02   -.75390    
   3  Normalizat    .89942        .23484        .25209E-03   -.96480    
   4  Prefactor     1.0381        .25172        .25182E-03   -.91471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.68133e-09
Minuit parameter uncertainties:
  1  4.68151
  2  0.92246
  3  0.235109
  4  0.252008
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/8515': 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) = 4619.47246577
delta logL = 0.215804914491

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  2.245e+00  4.682e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  1.578e+00  9.225e-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:  1.038e+00  2.520e-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.994e-01  2.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/8515/cmap_HighResolution_490492801_490752001_4FGL_J1350.8+3033_daily_bin969.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.57e-03', job_status='DONE', photon_flux_upper_limit='1.24e-07', time_completed='2021-09-08 15:11:56.994837', job_id='8515', GAL2='1.04', fit_tolerance='1e-08', EG2='0.90', EG='0.88', time_epoch_completed='1631139116.99', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.16e-01', ts2='0.57', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='969' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:11:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0014>
Subject: Job 8515: <4FGL_J1350.8+3033_daily_bin969> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin969> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 15:00:15 2021
Job was executed on host(s) <bullet0014>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:00:17 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:00:17 2021
Terminated at Wed Sep  8 15:11:57 2021
Results reported at Wed Sep  8 15:11:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin969 207.715 30.5588 490492801 490752001 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 :                                   681.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             353.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            702 sec.

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

