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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin952
RA = 207.715, Dec = 30.5588
tmin = 486086401, tmax = 486345601
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='7263', job_status='RUN', time_executed='2021-09-08 14:55:44.925257', time_epoch_executed='1631138144.93' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='952'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/7263

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/7263/ft1_4FGL_J1350.8+3033_daily_bin952.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/7263/ft2_4FGL_J1350.8+3033_daily_bin952.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/7263/ft1_4FGL_J1350.8+3033_daily_bin952.fits outfile=/scratch/kocevski/7263/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin952.fits ra=207.715 dec=30.5588 rad=12.0 tmin=486086401.0 tmax=486345601.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 3.87
user 3.61
sys 0.21

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/7263/ft1_filtered_4FGL_J1350.8+3033_daily_bin952.fits evtable="EVENTS" scfile=/scratch/kocevski/7263/ft2_4FGL_J1350.8+3033_daily_bin952.fits sctable="SC_DATA" expcube=/scratch/kocevski/7263/ltcube_486086401_486345601_4FGL_J1350.8+3033_daily_bin952.fits outfile=/scratch/kocevski/7263/expmap_486086401_486345601_4FGL_J1350.8+3033_daily_bin952.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/7263/ltcube_486086401_486345601_4FGL_J1350.8+3033_daily_bin952.fits
.....................!
real 191.95
user 186.68
sys 4.23

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/7263/ft1_filtered_4FGL_J1350.8+3033_daily_bin952.fits scfile=/scratch/kocevski/7263/ft2_4FGL_J1350.8+3033_daily_bin952.fits outfile=/scratch/kocevski/7263/cmap_486086401_486345601_4FGL_J1350.8+3033_daily_bin952.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=207.715 yref=30.5588 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7204       1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.055       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.386       1.0000         .10000E-03   10000.    
     4 'norm      '    9.7752       1.0000         .10000E-03   10000.    
     5 'norm      '    .14058E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6943       1.0000         .10000E-03   10000.    
    10 'norm      '    14.355       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.035       1.0000         .10000E-03   10000.    
    12 'norm      '    13.811       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.2279       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    64.470       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.5483       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.1118       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.7700       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.4245       1.0000         .10000E-03   10000.    
    24 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    6.7613       1.0000         .10000E-03   10000.    
    26 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.4660       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .65386       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=   6370.444     FROM MIGRAD    STATUS=CONVERGED    712 CALLS     3662 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7198        5.3808       -.50988E-06   -.43529E-03
   2  Prefactor     40.056        32.861        .36579E-05    .15507E-03
   3  Prefactor     15.390        23.853        .10722E-05   -.24056E-05
   4  norm          9.7768        6.6838       -.93835E-06    .34375E-04
   5  norm          .10005E-03    2.6134       -.77728E-06** at limit **
   6  norm          .10000E-03    4.7843       -.42779E-05** at limit **
   7  norm          .10000E-03    6.0930       -.90527E-06** at limit **
   8  Prefactor     .10000E-03    1.7352       -.54658E-06** at limit **
   9  Prefactor     1.6578        43.080        .56019E-05   -.18524E-03
  10  norm          14.356        8.3413        .43862E-07   -.63218E-04
  11  Prefactor     14.075        45.365        .71529E-04    .54520E-05
  12  norm          13.813        9.5902        .25259E-06   -.66339E-04
  13  Prefactor     7.2606        22.548        .40971E-05   -.67842E-04
  14  Prefactor     .10000E-03    17.775        .66574E-05** at limit **
  15  Prefactor     64.483        89.392        .14596E-04   -.25356E-04
  16  Prefactor     7.5527        4.9305        .18240E-06   -.27282E-03
  17  Prefactor     .10000E-03    4.2475        .16456E-05** at limit **
  18  norm          .10000E-03    5.0025        .41555E-06** at limit **
  19  Prefactor     8.1139        8.6756       -.22052E-06    .16361E-04
  20  norm          .10000E-03    .87009        .25188E-06** at limit **
  21  Prefactor     .10000E-03    5.1007        .31636E-05** at limit **
  22  Prefactor     2.7712        29.860        .47187E-05   -.99936E-04
  23  Prefactor     3.4266        3.6671        .36659E-06   -.34094E-03
  24  norm          .10000E-03    4.0757       -.78437E-06** at limit **
  25  norm          6.7601        3.1673       -.20529E-07   -.17798E-02
  26  norm          .10000E-03    8.4947        .24820E-06** at limit **
  27  Prefactor     .10000E-03    20.043       -.11865E-04** at limit **
  28  Normalizat    1.4649        .19516       -.43411E-05    .31177E-03
  29  Prefactor     .65491        .18433       -.69953E-06   -.15593E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.71981
  Prefactor  = 40.0565
  Prefactor  = 15.39
  norm       = 9.77678
  norm       = 0.00010005
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.65777
  norm       = 14.356
  Prefactor  = 14.0753
  norm       = 13.8125
  Prefactor  = 7.2606
  Prefactor  = 0.0001
  Prefactor  = 64.4828
  Prefactor  = 7.55271
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.11391
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.77124
  Prefactor  = 3.42663
  norm       = 0.0001
  norm       = 6.76006
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.46495
  Prefactor  = 0.654914
 **********
 **   18 **HESSE 
 **********

 FCN=   6370.444     FROM HESSE     STATUS=OK           553 CALLS     4215 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7198        5.3646        .77391E-03   -1.5189    
   2  Prefactor     40.056        32.415        .63334E-04   -1.4441    
   3  Prefactor     15.390        23.859        .10211E-03   -1.4923    
   4  norm          9.7768        6.6738        .12817E-03   -1.5083    
   5  norm          .10005E-03    23.296        .22652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.8373        .17007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    6.0940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.7455        .10244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6578        38.138        .32331E-03   -1.5450    
  10  norm          14.356        8.3468        .10572E-03   -1.4950    
  11  Prefactor     14.075        45.262        .10691E-03   -1.4957    
  12  norm          13.813        9.5948        .10778E-03   -1.4964    
  13  Prefactor     7.2606        22.643        .14920E-03   -1.5169    
  14  Prefactor     .10000E-03    17.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     64.483        90.314        .49980E-04   -1.4100    
  16  Prefactor     7.5527        4.9456        .13567E-03   -1.5158    
  17  Prefactor     .10000E-03    4.2572        .16066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.0066        .17434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.1139        8.6750        .14077E-03   -1.5138    
  20  norm          .10000E-03    .87100        .72703E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.1014        .17594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.7712        30.099        .24453E-03   -1.5375    
  23  Prefactor     3.4266        3.6680        .15078E-03   -1.5338    
  24  norm          .10000E-03    4.0763        .15736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          6.7601        3.1707        .46780E-03   -1.5188    
  26  norm          .10000E-03    8.5372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    20.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.4649        .23295        .22505E-03   -.78768    
  29  Prefactor     .65491        .21687        .33357E-03   -1.0532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.73162e-09
Minuit parameter uncertainties:
  1  5.36498
  2  32.429
  3  23.8737
  4  6.67429
  5  0.00215194
  6  1.17813e-05
  7  4.77826e-06
  8  8.87273e-05
  9  15.9138
  10  8.34752
  11  45.3725
  12  9.59584
  13  22.6694
  14  2.00227e-05
  15  90.5071
  16  4.94582
  17  1.1432e-05
  18  4.82753e-06
  19  8.67637
  20  9.86829e-07
  21  3.80427e-06
  22  18.2774
  23  3.6682
  24  1.99523e-07
  25  3.17078
  26  2.60889e-05
  27  3.03283e-05
  28  0.23312
  29  0.21715
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  7.553e+00  4.946e+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:  6.549e-01  2.171e-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.465e+00  2.331e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.82
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 6.13e-08 +/- 4.01e-08
Energy Flux (Fixed Index): 1.97e-05 +/- 1.29e-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) = 6370.01111835
delta logL = 0.432746368696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6370.0045497
delta logL = 0.439315014547

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6683       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9951       1.0000          .0000       10.000    
     3 'Normalizat'    1.4193       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68415       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=   6370.005     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      238 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6683        55.667        .42180E-02    .37230E-03
   2  Index         2.9952        3.5176        .16211        .97957E-04
   3  Normalizat    1.4194        .82401E-01    .51561E-01    .60245E-06
   4  Prefactor     .68415        .70293E-01    .73865E-01    .25652E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.66828
  Index      = 2.99523
  Normalizat = 1.41935
  Prefactor  = 0.684146
 **********
 **   18 **HESSE 
 **********

 FCN=   6370.005     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6683        4.8238        .10026E-03   -1.5232    
   2  Index         2.9952        .67686        .58449E-02   -.41256    
   3  Normalizat    1.4194        .21292        .22796E-03   -.80071    
   4  Prefactor     .68415        .21384        .32697E-03   -1.0415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12545e-09
Minuit parameter uncertainties:
  1  4.82414
  2  0.679349
  3  0.213056
  4  0.2141
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/7263': 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) = 6370.0045496
delta logL = 0.439315111351

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  5.668e+00  4.824e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.995e+00  6.793e-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:  6.841e-01  2.141e-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.419e+00  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.74
Ra Dec: 207.715 30.559
Photon Index (Free Index): 3.00 +/- 0.68
Photon Flux (Free Index): 1.02e-07 +/- 6.83e-08
Energy Flux (Free Index): 2.04e-05 +/- 1.16e-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/7263/cmap_HighResolution_486086401_486345601_4FGL_J1350.8+3033_daily_bin952.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.13e-08', energy_flux2='2.04e-05', photon_flux_error='4.01e-08', dlogl='4.39e-01', energy_flux='1.97e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2021-09-08 15:07:40.309781', photon_index_error2='0.68', photon_index2='3.00', ts='4.82', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', energy_flux_error2='1.16e-05', EG='1.46', time_epoch_completed='1631138860.31', return_code='0', job_id='7263', GAL2='0.68', EG2='1.42', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='6.83e-08', ts2='5.74', photon_index='2.42' WHERE bin_id='952' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:07:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 7263: <4FGL_J1350.8+3033_daily_bin952> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin952> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 14:55:31 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:55:36 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:55:36 2021
Terminated at Wed Sep  8 15:07:41 2021
Results reported at Wed Sep  8 15:07:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin952 207.715 30.5588 486086401 486345601 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 :                                   708.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            730 sec.

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

