/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 1 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 = 7391
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1350.8+3033_daily_bin294
RA = 207.715, Dec = 30.5588
tmin = 315532801, tmax = 315792001
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='2180', job_status='RUN', time_executed='2021-09-08 14:42:30.708603', time_epoch_executed='1631137350.71' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='294'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2180

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2180/ft1_4FGL_J1350.8+3033_daily_bin294.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2180/ft2_4FGL_J1350.8+3033_daily_bin294.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2180/ft1_4FGL_J1350.8+3033_daily_bin294.fits outfile=/scratch/kocevski/2180/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin294.fits ra=207.715 dec=30.5588 rad=12.0 tmin=315532801.0 tmax=315792001.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.83
user 3.57
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2180/ft1_filtered_4FGL_J1350.8+3033_daily_bin294.fits" evtable="EVENTS" scfile=/scratch/kocevski/2180/ft2_4FGL_J1350.8+3033_daily_bin294.fits sctable="SC_DATA" outfile=/scratch/kocevski/2180/ltcube_315532801_315792001_4FGL_J1350.8+3033_daily_bin294.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/2180/ft2_4FGL_J1350.8+3033_daily_bin294.fits
.....................!
real 14.59
user 14.21
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2180/ft1_filtered_4FGL_J1350.8+3033_daily_bin294.fits evtable="EVENTS" scfile=/scratch/kocevski/2180/ft2_4FGL_J1350.8+3033_daily_bin294.fits sctable="SC_DATA" expcube=/scratch/kocevski/2180/ltcube_315532801_315792001_4FGL_J1350.8+3033_daily_bin294.fits outfile=/scratch/kocevski/2180/expmap_315532801_315792001_4FGL_J1350.8+3033_daily_bin294.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/2180/ltcube_315532801_315792001_4FGL_J1350.8+3033_daily_bin294.fits
.....................!
real 193.17
user 188.00
sys 4.65

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/2180/ft1_filtered_4FGL_J1350.8+3033_daily_bin294.fits scfile=/scratch/kocevski/2180/ft2_4FGL_J1350.8+3033_daily_bin294.fits outfile=/scratch/kocevski/2180/cmap_315532801_315792001_4FGL_J1350.8+3033_daily_bin294.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2180/ft1_filtered_4FGL_J1350.8+3033_daily_bin294.fits scfile=/scratch/kocevski/2180/ft2_4FGL_J1350.8+3033_daily_bin294.fits outfile=/scratch/kocevski/2180/cmap_HighResolution_315532801_315792001_4FGL_J1350.8+3033_daily_bin294.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.41
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.576       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.6913       1.0000         .10000E-03   10000.    
     7 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1714       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .45034E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    10.058       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.198       1.0000         .10000E-03   10000.    
    15 'Prefactor '    127.11       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.3857       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.9716       1.0000         .10000E-03   10000.    
    18 'norm      '    7.1126       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.596       1.0000         .10000E-03   10000.    
    20 'norm      '    12.479       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.5751       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.6814       1.0000         .10000E-03   10000.    
    24 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    17.200       1.0000         .10000E-03   10000.    
    26 'norm      '    7.4389       1.0000         .10000E-03   10000.    
    27 'Prefactor '    19.762       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .83762       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0736       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=   5500.209     FROM MIGRAD    STATUS=CONVERGED    717 CALLS     3654 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.577        6.9234        .60471E-07    .11324E-04
   2  Prefactor     .10000E-03    34.398       -.19623E-06** at limit **
   3  Prefactor     .10000E-03    16.756       -.78090E-07** at limit **
   4  norm          .10000E-03    2.6463       -.59624E-07** at limit **
   5  norm          .10000E-03    3.6161        .18781E-07** at limit **
   6  norm          1.6924        5.6774        .57025E-07   -.93195E-06
   7  norm          .10000E-03    7.2090       -.59726E-07** at limit **
   8  Prefactor     .10000E-03    1.5112        .28374E-07** at limit **
   9  Prefactor     3.1731        10.580        .32010E-06    .19031E-04
  10  norm          .10000E-03    2.8038       -.79528E-07** at limit **
  11  Prefactor     .10000E-03    406.83       -.30724E-05** at limit **
  12  norm          10.057        8.9388        .34527E-07    .15308E-04
  13  Prefactor     .10000E-03    4.9732       -.53402E-07** at limit **
  14  Prefactor     23.195        18.480       -.56126E-06    .10676E-04
  15  Prefactor     127.31        108.27       -.97976E-05    .15558E-04
  16  Prefactor     8.3857        5.6430        .12342E-06    .24595E-04
  17  Prefactor     7.9713        11.175       -.10348E-06    .96238E-05
  18  norm          7.1087        17.797        .11179E-05    .14594E-04
  19  Prefactor     10.596        11.894        .27971E-07    .13313E-05
  20  norm          12.479        5.7442       -.12554E-06    .11703E-04
  21  Prefactor     4.5747        8.1689        .77185E-07    .45848E-05
  22  Prefactor     .10000E-03    5.5932       -.47771E-08** at limit **
  23  Prefactor     2.6813        4.7777        .21627E-05    .13415E-03
  24  norm          .10000E-03    10.054       -.42129E-07** at limit **
  25  norm          17.200        4.3332       -.46265E-07    .26618E-04
  26  norm          7.4385        8.6095       -.44680E-07    .33703E-05
  27  Prefactor     19.748        46.098       -.34337E-06    .21261E-05
  28  Normalizat    .83764        .20534       -.26668E-05    .52459E-04
  29  Prefactor     1.0736        .20677        .30259E-05    .12597E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 15.577
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.69242
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.17313
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 10.057
  Prefactor  = 0.0001
  Prefactor  = 23.1948
  Prefactor  = 127.308
  Prefactor  = 8.38567
  Prefactor  = 7.97127
  norm       = 7.10873
  Prefactor  = 10.596
  norm       = 12.4791
  Prefactor  = 4.57465
  Prefactor  = 0.0001
  Prefactor  = 2.68126
  norm       = 0.0001
  norm       = 17.1998
  norm       = 7.43848
  Prefactor  = 19.7485
  Normalizat = 0.837635
  Prefactor  = 1.07363
 **********
 **   18 **HESSE 
 **********

 FCN=   5500.209     FROM HESSE     STATUS=OK           555 CALLS     4209 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.577        6.9191        .10148E-03   -1.4918    
   2  Prefactor     .10000E-03    34.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.6619        .11780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.6389        .27105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6924        5.5647        .30398E-03   -1.5448    
   7  norm          .10000E-03    7.2133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.5185        .88907E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.1731        10.518        .22757E-03   -1.5352    
  10  norm          .10000E-03    2.8120        .12116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    420.70        .38686E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.057        8.9383        .12634E-03   -1.5074    
  13  Prefactor     .10000E-03    4.9755        .16152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.195        18.487        .83166E-04   -1.4744    
  15  Prefactor     127.31        109.57        .17854E-03   -1.3447    
  16  Prefactor     8.3857        5.6567        .13531E-03   -1.5129    
  17  Prefactor     7.9713        11.184        .14201E-03   -1.5143    
  18  norm          7.1087        17.788        .15041E-03   -1.5175    
  19  Prefactor     10.596        11.893        .12308E-03   -1.5057    
  20  norm          12.479        5.7451        .11339E-03   -1.5001    
  21  Prefactor     4.5747        8.1507        .18819E-03   -1.5280    
  22  Prefactor     .10000E-03    5.5946        .17124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.6813        4.8426        .10220E-02   -1.5380    
  24  norm          .10000E-03    10.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          17.200        4.3430        .74412E-04   -1.4878    
  26  norm          7.4385        8.6051        .14705E-03   -1.5162    
  27  Prefactor     19.748        46.108        .90097E-04   -1.4819    
  28  Normalizat    .83764        .23279        .26847E-03   -.98688    
  29  Prefactor     1.0736        .23752        .25906E-03   -.90314    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56493e-11
Minuit parameter uncertainties:
  1  6.91941
  2  7.35078e-06
  3  1.3281e-05
  4  8.39438e-07
  5  3.40682e-07
  6  5.5664
  7  2.3554e-06
  8  3.98275e-06
  9  10.5239
  10  1.37367e-06
  11  0.00197334
  12  8.93944
  13  4.49175e-07
  14  18.4912
  15  109.744
  16  5.65708
  17  11.1864
  18  17.8014
  19  11.8959
  20  5.74535
  21  8.15271
  22  5.68989e-08
  23  4.84335
  24  6.02858e-06
  25  4.34304
  26  8.60656
  27  46.1908
  28  0.233068
  29  0.237749
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  8.386e+00  5.657e+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.074e+00  2.377e-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.376e-01  2.331e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.48
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 6.81e-08 +/- 4.59e-08
Energy Flux (Fixed Index): 2.19e-05 +/- 1.47e-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) = 5500.20550944
delta logL = 0.00328084539524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5500.2049768
delta logL = 0.00381348129849

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3977       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3537       1.0000          .0000       10.000    
     3 'Normalizat'    .84389       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0698       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5500.205     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      270 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4060        5.7780        .69169E-03   -.64134E-04
   2  Index         2.3549        .69740        .88981E-02    .11195E-03
   3  Normalizat    .84371        .22582        .26761E-03   -.15965E-03
   4  Prefactor     1.0698        .23366        .25946E-03   -.32732E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.40604
  Index      = 2.35494
  Normalizat = 0.843713
  Prefactor  = 1.06984
 **********
 **   18 **HESSE 
 **********

 FCN=   5500.205     FROM HESSE     STATUS=OK            27 CALLS      297 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4060        5.7767        .27667E-04   -1.5128    
   2  Index         2.3549        .69559        .35592E-03   -.55744    
   3  Normalizat    .84371        .22619        .10705E-04   -.98467    
   4  Prefactor     1.0698        .23383        .51892E-04   -.90437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03283e-10
Minuit parameter uncertainties:
  1  5.77711
  2  0.698744
  3  0.226441
  4  0.234051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2180': 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) = 5500.20497428
delta logL = 0.00381600533001

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  8.406e+00  5.777e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.355e+00  6.987e-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.070e+00  2.341e-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.437e-01  2.264e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.44
Ra Dec: 207.715 30.559
Photon Index (Free Index): 2.35 +/- 0.70
Photon Flux (Free Index): 6.33e-08 +/- 7.05e-08
Energy Flux (Free Index): 2.21e-05 +/- 1.54e-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/2180/cmap_HighResolution_315532801_315792001_4FGL_J1350.8+3033_daily_bin294.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.81e-08', energy_flux2='2.21e-05', photon_flux_error='4.59e-08', dlogl='3.82e-03', energy_flux='2.19e-05', photon_flux2='6.33e-08', job_status='DONE', time_completed='2021-09-08 14:53:26.706466', photon_index_error2='0.70', photon_index2='2.35', ts='5.48', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.54e-05', EG='0.84', time_epoch_completed='1631138006.71', return_code='0', job_id='2180', GAL2='1.07', EG2='0.84', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='7.05e-08', ts2='5.44', photon_index='2.42' WHERE bin_id='294' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:53:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 2180: <4FGL_J1350.8+3033_daily_bin294> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin294> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep  8 14:40:45 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:42:20 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:42:20 2021
Terminated at Wed Sep  8 14:53:27 2021
Results reported at Wed Sep  8 14:53:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin294 207.715 30.5588 315532801 315792001 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 :                                   649.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            762 sec.

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

