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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin231
RA = 207.715, Dec = 30.5588
tmin = 299203201, tmax = 299462401
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='2081', job_status='RUN', time_executed='2021-09-08 14:42:16.472308', time_epoch_executed='1631137336.47' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='231'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2081

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2081/ft1_4FGL_J1350.8+3033_daily_bin231.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2081/ft2_4FGL_J1350.8+3033_daily_bin231.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2081/ft1_4FGL_J1350.8+3033_daily_bin231.fits outfile=/scratch/kocevski/2081/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin231.fits ra=207.715 dec=30.5588 rad=12.0 tmin=299203201.0 tmax=299462401.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.50
user 3.29
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2081/ft1_filtered_4FGL_J1350.8+3033_daily_bin231.fits" evtable="EVENTS" scfile=/scratch/kocevski/2081/ft2_4FGL_J1350.8+3033_daily_bin231.fits sctable="SC_DATA" outfile=/scratch/kocevski/2081/ltcube_299203201_299462401_4FGL_J1350.8+3033_daily_bin231.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/2081/ft2_4FGL_J1350.8+3033_daily_bin231.fits
.....................!
real 16.39
user 16.02
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2081/ft1_filtered_4FGL_J1350.8+3033_daily_bin231.fits evtable="EVENTS" scfile=/scratch/kocevski/2081/ft2_4FGL_J1350.8+3033_daily_bin231.fits sctable="SC_DATA" expcube=/scratch/kocevski/2081/ltcube_299203201_299462401_4FGL_J1350.8+3033_daily_bin231.fits outfile=/scratch/kocevski/2081/expmap_299203201_299462401_4FGL_J1350.8+3033_daily_bin231.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/2081/ltcube_299203201_299462401_4FGL_J1350.8+3033_daily_bin231.fits
.....................!
real 192.91
user 187.52
sys 4.72

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/2081/ft1_filtered_4FGL_J1350.8+3033_daily_bin231.fits scfile=/scratch/kocevski/2081/ft2_4FGL_J1350.8+3033_daily_bin231.fits outfile=/scratch/kocevski/2081/cmap_299203201_299462401_4FGL_J1350.8+3033_daily_bin231.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2081/ft1_filtered_4FGL_J1350.8+3033_daily_bin231.fits scfile=/scratch/kocevski/2081/ft2_4FGL_J1350.8+3033_daily_bin231.fits outfile=/scratch/kocevski/2081/cmap_HighResolution_299203201_299462401_4FGL_J1350.8+3033_daily_bin231.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98531       1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.993       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.006       1.0000         .10000E-03   10000.    
     4 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    13.213       1.0000         .10000E-03   10000.    
     6 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    20.628       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .82542       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    12.102       1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.919       1.0000         .10000E-03   10000.    
    12 'norm      '    12.225       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.498       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.214       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.8907       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.396       1.0000         .10000E-03   10000.    
    18 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11932E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.9735       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.511       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.6005       1.0000         .10000E-03   10000.    
    24 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    9.1759       1.0000         .10000E-03   10000.    
    26 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10695E-02   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .68588       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.3643       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=   6495.559     FROM MIGRAD    STATUS=CONVERGED    721 CALLS     3675 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99101        3.0523        .62685E-06   -.28523E-03
   2  Prefactor     24.981        21.305       -.13742E-06   -.58766E-05
   3  Prefactor     11.011        19.139       -.53691E-06   -.66245E-04
   4  norm          .10000E-03    2.7267       -.36750E-07** at limit **
   5  norm          13.213        4.5750       -.12961E-06   -.26257E-03
   6  norm          .10000E-03    4.4877        .10442E-06** at limit **
   7  norm          20.630        17.799       -.45331E-07   -.16345E-04
   8  Prefactor     .82492        1.8830        .70618E-06    .20828E-03
   9  Prefactor     .10000E-03    4.3712       -.81575E-07** at limit **
  10  norm          12.103        7.3745        .47455E-07   -.34293E-05
  11  Prefactor     42.927        42.187        .97322E-06    .88394E-04
  12  norm          12.227        8.1613        .38703E-07   -.60063E-06
  13  Prefactor     11.500        11.833        .43176E-07   -.68725E-05
  14  Prefactor     13.217        15.242       -.88375E-07   -.27905E-04
  15  Prefactor     .10000E-03    109.11        .95269E-06** at limit **
  16  Prefactor     7.8918        4.0317        .17550E-06    .20623E-03
  17  Prefactor     14.400        12.650        .44042E-07   -.24249E-04
  18  norm          .10000E-03    14.022       -.15745E-08** at limit **
  19  Prefactor     .10000E-03    31.839       -.67584E-06** at limit **
  20  norm          4.9741        3.8478        .79031E-06   -.89558E-03
  21  Prefactor     23.527        15.970       -.11351E-05   -.30899E-03
  22  Prefactor     .10000E-03    9.9073       -.23525E-06** at limit **
  23  Prefactor     3.6002        3.3326        .54477E-07   -.59923E-04
  24  norm          .10000E-03    6.2798       -.93715E-07** at limit **
  25  norm          9.1764        3.5756        .45332E-07    .50561E-04
  26  norm          .10000E-03    3.6238       -.30943E-07** at limit **
  27  Prefactor     .10001E-03    155.79       -.73520E-05** at limit **
  28  Normalizat    .68565        .16934       -.21694E-06   -.34267E-04
  29  Prefactor     1.3644        .19037       -.22680E-06    .17322E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.991006
  Prefactor  = 24.9807
  Prefactor  = 11.0111
  norm       = 0.0001
  norm       = 13.2125
  norm       = 0.0001
  norm       = 20.6299
  Prefactor  = 0.824924
  Prefactor  = 0.0001
  norm       = 12.1029
  Prefactor  = 42.9275
  norm       = 12.2266
  Prefactor  = 11.5004
  Prefactor  = 13.2167
  Prefactor  = 0.0001
  Prefactor  = 7.89178
  Prefactor  = 14.3999
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.97414
  Prefactor  = 23.5265
  Prefactor  = 0.0001
  Prefactor  = 3.60023
  norm       = 0.0001
  norm       = 9.17637
  norm       = 0.0001
  Prefactor  = 0.000100009
  Normalizat = 0.685651
  Prefactor  = 1.36439
 **********
 **   18 **HESSE 
 **********

 FCN=   6495.559     FROM HESSE     STATUS=OK           559 CALLS     4234 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99101        3.0553        .23140E-03   -1.5509    
   2  Prefactor     24.981        21.061        .80128E-04   -1.4708    
   3  Prefactor     11.011        19.127        .12077E-03   -1.5044    
   4  norm          .10000E-03    2.7371        .12956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          13.213        4.5507        .94710E-04   -1.4981    
   6  norm          .10000E-03    4.5020        .16631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.630        17.801        .88187E-04   -1.4799    
   8  Prefactor     .82492        1.6780        .17064E-02   -1.5526    
   9  Prefactor     .10000E-03    4.3810        .16457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.103        7.3744        .11515E-03   -1.5012    
  11  Prefactor     42.927        42.356        .30596E-03   -1.4397    
  12  norm          12.227        8.1608        .11457E-03   -1.5008    
  13  Prefactor     11.500        11.829        .11814E-03   -1.5030    
  14  Prefactor     13.217        15.250        .11019E-03   -1.4981    
  15  Prefactor     .10000E-03    109.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.8918        4.0390        .11088E-03   -1.5146    
  17  Prefactor     14.400        12.666        .10556E-03   -1.4949    
  18  norm          .10000E-03    14.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    32.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.9741        3.8708        .66511E-03   -1.5262    
  21  Prefactor     23.527        16.162        .82610E-04   -1.4738    
  22  Prefactor     .10000E-03    9.9173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.6002        3.3272        .13491E-03   -1.5328    
  24  norm          .10000E-03    6.2872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          9.1764        3.5831        .91568E-04   -1.5102    
  26  norm          .10000E-03    3.6308        .14983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10001E-03    164.40        .41435E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .68565        .19721        .28832E-03   -1.0446    
  29  Prefactor     1.3644        .22282        .24848E-03   -.81412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63152e-10
Minuit parameter uncertainties:
  1  3.05573
  2  21.0676
  3  19.1379
  4  2.27117e-06
  5  4.55085
  6  9.2521e-06
  7  17.8055
  8  1.67808
  9  1.05945e-05
  10  7.37491
  11  42.3853
  12  8.16149
  13  11.8309
  14  15.2548
  15  0.000286032
  16  4.03915
  17  12.6686
  18  2.17028e-05
  19  0.000210216
  20  3.87104
  21  16.165
  22  5.17287e-05
  23  3.32734
  24  1.14236e-05
  25  3.58319
  26  6.23572e-06
  27  0.00245655
  28  0.197411
  29  0.222978
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  7.892e+00  4.039e+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.364e+00  2.230e-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:  6.857e-01  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.19
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 6.41e-08 +/- 3.28e-08
Energy Flux (Fixed Index): 2.06e-05 +/- 1.05e-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) = 6495.22468974
delta logL = 0.33452711784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6495.22449918
delta logL = 0.334717679795

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5302       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0423       1.0000          .0000       10.000    
     3 'Normalizat'    .70875       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3449       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=   6495.224     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      265 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5195        131.17        .32453E-02    .86298E-04
   2  Index         2.0411        5.8735        .18211        .73563E-05
   3  Normalizat    .70886        .20469        .64176E-01    .25394E-04
   4  Prefactor     1.3449        .21017        .56507E-01    .23315E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.51951
  Index      = 2.04112
  Normalizat = 0.708856
  Prefactor  = 1.34487
 **********
 **   18 **HESSE 
 **********

 FCN=   6495.224     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .41E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5195        4.9616        .12397E-03   -1.5091    
   2  Index         2.0411        .42338        .68605E-02   -.63326    
   3  Normalizat    .70886        .18725        .28392E-03   -1.0354    
   4  Prefactor     1.3449        .21898        .24985E-03   -.81982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06998e-14
Minuit parameter uncertainties:
  1  4.96177
  2  0.42416
  3  0.187418
  4  0.219128
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2081': 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) = 6495.2244922
delta logL = 0.334724654293

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  9.520e+00  4.962e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.041e+00  4.242e-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.345e+00  2.191e-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:  7.089e-01  1.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.80
Ra Dec: 207.715 30.559
Photon Index (Free Index): 2.04 +/- 0.42
Photon Flux (Free Index): 5.03e-08 +/- 3.15e-08
Energy Flux (Free Index): 3.15e-05 +/- 2.58e-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/2081/cmap_HighResolution_299203201_299462401_4FGL_J1350.8+3033_daily_bin231.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.41e-08', energy_flux2='3.15e-05', photon_flux_error='3.28e-08', dlogl='3.35e-01', energy_flux='2.06e-05', photon_flux2='5.03e-08', job_status='DONE', time_completed='2021-09-08 14:54:30.692676', photon_index_error2='0.42', photon_index2='2.04', ts='7.19', fit_tolerance='1e-08', GAL='1.36', photon_index_error='0.00', energy_flux_error2='2.58e-05', EG='0.69', time_epoch_completed='1631138070.69', return_code='0', job_id='2081', GAL2='1.34', EG2='0.71', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='3.15e-08', ts2='7.80', photon_index='2.42' WHERE bin_id='231' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:54:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 2081: <4FGL_J1350.8+3033_daily_bin231> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin231 207.715 30.5588 299203201 299462401 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 :                                   728.44 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            832 sec.

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

