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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin66
RA = 207.715, Dec = 30.5588
tmin = 256435201, tmax = 256694401
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='1829', job_status='RUN', time_executed='2021-09-08 14:41:09.653883', time_epoch_executed='1631137269.65' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='66'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/1829

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/1829/ft1_4FGL_J1350.8+3033_daily_bin66.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/1829/ft2_4FGL_J1350.8+3033_daily_bin66.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/1829/ft1_4FGL_J1350.8+3033_daily_bin66.fits outfile=/scratch/kocevski/1829/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin66.fits ra=207.715 dec=30.5588 rad=12.0 tmin=256435201.0 tmax=256694401.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.23
user 1.05
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/1829/ft2_4FGL_J1350.8+3033_daily_bin66.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/1829/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin66.fits evtable="EVENTS" outfile="/scratch/kocevski/1829/ft1_filtered_4FGL_J1350.8+3033_daily_bin66.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.45
user 0.29
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/1829/ft1_filtered_4FGL_J1350.8+3033_daily_bin66.fits" evtable="EVENTS" scfile=/scratch/kocevski/1829/ft2_4FGL_J1350.8+3033_daily_bin66.fits sctable="SC_DATA" outfile=/scratch/kocevski/1829/ltcube_256435201_256694401_4FGL_J1350.8+3033_daily_bin66.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/1829/ft2_4FGL_J1350.8+3033_daily_bin66.fits
.....................!
real 16.87
user 16.53
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/1829/ft1_filtered_4FGL_J1350.8+3033_daily_bin66.fits evtable="EVENTS" scfile=/scratch/kocevski/1829/ft2_4FGL_J1350.8+3033_daily_bin66.fits sctable="SC_DATA" expcube=/scratch/kocevski/1829/ltcube_256435201_256694401_4FGL_J1350.8+3033_daily_bin66.fits outfile=/scratch/kocevski/1829/expmap_256435201_256694401_4FGL_J1350.8+3033_daily_bin66.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/1829/ltcube_256435201_256694401_4FGL_J1350.8+3033_daily_bin66.fits
.....................!
real 157.44
user 152.74
sys 4.17

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/1829/ft1_filtered_4FGL_J1350.8+3033_daily_bin66.fits scfile=/scratch/kocevski/1829/ft2_4FGL_J1350.8+3033_daily_bin66.fits outfile=/scratch/kocevski/1829/cmap_256435201_256694401_4FGL_J1350.8+3033_daily_bin66.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.49
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/1829/ft1_filtered_4FGL_J1350.8+3033_daily_bin66.fits scfile=/scratch/kocevski/1829/ft2_4FGL_J1350.8+3033_daily_bin66.fits outfile=/scratch/kocevski/1829/cmap_HighResolution_256435201_256694401_4FGL_J1350.8+3033_daily_bin66.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.49
user 0.33
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.150       1.0000         .10000E-03   10000.    
     4 'norm      '    7.6157       1.0000         .10000E-03   10000.    
     5 'norm      '    6.3884       1.0000         .10000E-03   10000.    
     6 'norm      '    .44172E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10248E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .29271E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.5775       1.0000         .10000E-03   10000.    
    12 'norm      '    12.746       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.6952       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.6539       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.705       1.0000         .10000E-03   10000.    
    18 'norm      '    2.1262       1.0000         .10000E-03   10000.    
    19 'Prefactor '    28.498       1.0000         .10000E-03   10000.    
    20 'norm      '    .23016E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11208E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .37331E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.6457       1.0000         .10000E-03   10000.    
    24 'norm      '    14.093       1.0000         .10000E-03   10000.    
    25 'norm      '    3.7137       1.0000         .10000E-03   10000.    
    26 'norm      '    8.9595       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.3380       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .72155       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=   8249.820     FROM MIGRAD    STATUS=CONVERGED    731 CALLS     3721 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7093        .42887E-07** at limit **
   2  Prefactor     .10000E-03    11.680       -.97268E-06** at limit **
   3  Prefactor     11.138        25.285        .55931E-07    .52406E-05
   4  norm          7.6116        5.9137       -.43232E-06   -.24028E-03
   5  norm          6.3889        3.6155       -.61034E-06   -.14250E-02
   6  norm          .10000E-03    3.7509        .11742E-05** at limit **
   7  norm          .10000E-03    10.086       -.17041E-06** at limit **
   8  Prefactor     .10000E-03    1.4342        .20058E-06** at limit **
   9  Prefactor     .10000E-03    5.6047        .15542E-06** at limit **
  10  norm          .10000E-03    1.5072       -.55941E-08** at limit **
  11  Prefactor     8.5634        32.035       -.64659E-07    .23692E-04
  12  norm          12.743        7.3455       -.74359E-07    .11331E-04
  13  Prefactor     1.6949        8.4149        .25629E-05    .66206E-03
  14  Prefactor     6.6504        12.695       -.43206E-06   -.19042E-05
  15  Prefactor     .10000E-03    21.784       -.39002E-06** at limit **
  16  Prefactor     .10000E-03    1.0781       -.61406E-08** at limit **
  17  Prefactor     12.703        11.555       -.12699E-06    .50357E-05
  18  norm          2.1275        22.083        .13804E-05    .24591E-04
  19  Prefactor     28.558        22.203        .16419E-05   -.31328E-03
  20  norm          .10000E-03    1.7215       -.60582E-07** at limit **
  21  Prefactor     .10000E-03    9.5703       -.17078E-06** at limit **
  22  Prefactor     .10026E-03    26.799        .52114E-05** at limit **
  23  Prefactor     2.6474        3.3833        .22540E-06    .11519E-03
  24  norm          14.117        11.449        .14184E-05    .12428E-03
  25  norm          3.7132        1.9091       -.14672E-07   -.20183E-07
  26  norm          8.9679        8.3752        .59148E-06    .16856E-03
  27  Prefactor     .10000E-03    16.592        .12885E-05** at limit **
  28  Normalizat    1.3380        .15363        .38460E-06   -.10723E-03
  29  Prefactor     .72173        .15825        .97657E-07    .15745E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.1385
  norm       = 7.61163
  norm       = 6.38888
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.5634
  norm       = 12.7432
  Prefactor  = 1.69488
  Prefactor  = 6.65041
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.7029
  norm       = 2.12749
  Prefactor  = 28.5579
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100258
  Prefactor  = 2.64742
  norm       = 14.1172
  norm       = 3.71323
  norm       = 8.96787
  Prefactor  = 0.0001
  Normalizat = 1.33799
  Prefactor  = 0.721728
 **********
 **   18 **HESSE 
 **********

 FCN=   8249.820     FROM HESSE     STATUS=OK           559 CALLS     4280 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7239        .11595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.138        25.243        .11998E-03   -1.5040    
   4  norm          7.6116        5.8320        .14532E-03   -1.5156    
   5  norm          6.3889        3.3548        .11377E-03   -1.5202    
   6  norm          .10000E-03    16.832        .30470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    10.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.598        .19274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.6196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.5108        .10884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.5634        31.508        .13687E-03   -1.5123    
  12  norm          12.743        7.3423        .11220E-03   -1.4994    
  13  Prefactor     1.6949        10.481        .16160E-02   -1.5448    
  14  Prefactor     6.6504        12.702        .15556E-03   -1.5192    
  15  Prefactor     .10000E-03    21.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.0886        .92065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.703        11.550        .11238E-03   -1.4995    
  18  norm          2.1275        22.052        .28279E-03   -1.5416    
  19  Prefactor     28.558        21.915        .75049E-04   -1.4639    
  20  norm          .10000E-03    6.3353        .22680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.6309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10026E-03    50.923        .54826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.6474        3.3710        .17780E-03   -1.5383    
  24  norm          14.117        11.366        .10669E-03   -1.4956    
  25  norm          3.7132        1.9117        .87197E-04   -1.5323    
  26  norm          8.9679        8.3778        .66952E-03   -1.5109    
  27  Prefactor     .10000E-03    16.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.3380        .18100        .21552E-03   -.82439    
  29  Prefactor     .72173        .18613        .30519E-03   -1.0268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.77192e-09
Minuit parameter uncertainties:
  1  2.32554e-06
  2  9.14862e-05
  3  25.2674
  4  5.83242
  5  3.35488
  6  0.000106756
  7  1.89788e-05
  8  6.8178e-05
  9  7.26917e-06
  10  5.58439e-07
  11  31.5695
  12  7.34284
  13  8.43128
  14  12.7068
  15  7.15234e-05
  16  1.73656e-06
  17  11.552
  18  13.7051
  19  21.9207
  20  0.000221669
  21  2.09231e-05
  22  0.00725311
  23  3.37122
  24  11.3674
  25  1.91172
  26  8.37893
  27  0.000141102
  28  0.181084
  29  0.186294
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  1.737e-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:  7.217e-01  1.863e-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.338e+00  1.811e-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: 4.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/1829/likelihoodResults_256435201_256694401_4FGL_J1350.8+3033_daily_bin66.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) = 8249.82429937
delta logL = -0.00432241384988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8249.81997968
delta logL = -2.72223587672e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10557E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4176       1.0000          .0000       10.000    
     3 'Normalizat'    1.3379       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72182       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=   8249.820     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      249 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.2705        .92080E-03** at limit **
   2  Index         2.6671        6.3334        .50000       -.10314E-05
   3  Normalizat    1.3380        .16912        .21552E-03   -.43044E-02
   4  Prefactor     .72172        .18232        .30519E-03   -.30846E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.66712
  Normalizat = 1.33799
  Prefactor  = 0.721722
 **********
 **   18 **HESSE 
 **********

 FCN=   8249.820     FROM HESSE     STATUS=OK            29 CALLS      278 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1076        .18416E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6671        6.3251        .50000       -.48542    
   3  Normalizat    1.3380        .16925        .43103E-04   -.82439    
   4  Prefactor     .72172        .18246        .61037E-04   -1.0268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2248e-08
Minuit parameter uncertainties:
  1  4.56294e-05
  2  4.43561
  3  0.169316
  4  0.182607
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/1829': 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) = 8249.81997643
delta logL = 5.27208612766e-07

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  4.563e-05  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.667e+00  4.436e+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:  7.217e-01  1.826e-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.338e+00  1.693e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/1829/cmap_HighResolution_256435201_256694401_4FGL_J1350.8+3033_daily_bin66.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.13e-03', job_status='DONE', photon_flux_upper_limit='4.04e-08', time_completed='2021-09-08 14:54:32.071490', job_id='1829', GAL2='0.72', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1631138072.07', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='5.27e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='66' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:54:32 PDT 2021


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

Job <4FGL_J1350.8+3033_daily_bin66> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep  8 14:40:19 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:40:52 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:52 2021
Terminated at Wed Sep  8 14:54:32 2021
Results reported at Wed Sep  8 14:54:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin66 207.715 30.5588 256435201 256694401 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 :                                   798.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            853 sec.

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

