aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 42 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7584
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1350.8+3033_daily_bin1755
RA = 207.715, Dec = 30.5588
tmin = 694224001, tmax = 694483201
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='825144', job_status='RUN', time_executed='2023-01-04 01:06:51.641235', time_epoch_executed='1672823211.64' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/825144

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/825144/ft1_4FGL_J1350.8+3033_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/825144/ft2_4FGL_J1350.8+3033_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/825144/ft1_4FGL_J1350.8+3033_daily_bin1755.fits outfile=/scratch/kocevski/825144/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin1755.fits ra=207.715 dec=30.5588 rad=12.0 tmin=694224001.0 tmax=694483201.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.09
user 2.82
sys 0.21

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

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

Number of photons that the gtmktime cut: 909

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/825144/ft1_filtered_4FGL_J1350.8+3033_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/825144/ft2_4FGL_J1350.8+3033_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/825144/ltcube_694224001_694483201_4FGL_J1350.8+3033_daily_bin1755.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/825144/ft2_4FGL_J1350.8+3033_daily_bin1755.fits
.....................!
real 16.37
user 15.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/825144/ft1_filtered_4FGL_J1350.8+3033_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/825144/ft2_4FGL_J1350.8+3033_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/825144/ltcube_694224001_694483201_4FGL_J1350.8+3033_daily_bin1755.fits outfile=/scratch/kocevski/825144/expmap_694224001_694483201_4FGL_J1350.8+3033_daily_bin1755.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/825144/ltcube_694224001_694483201_4FGL_J1350.8+3033_daily_bin1755.fits
.....................!
real 194.47
user 187.44
sys 5.90

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/825144/ft1_filtered_4FGL_J1350.8+3033_daily_bin1755.fits scfile=/scratch/kocevski/825144/ft2_4FGL_J1350.8+3033_daily_bin1755.fits outfile=/scratch/kocevski/825144/cmap_694224001_694483201_4FGL_J1350.8+3033_daily_bin1755.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.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/825144/ft1_filtered_4FGL_J1350.8+3033_daily_bin1755.fits scfile=/scratch/kocevski/825144/ft2_4FGL_J1350.8+3033_daily_bin1755.fits outfile=/scratch/kocevski/825144/cmap_HighResolution_694224001_694483201_4FGL_J1350.8+3033_daily_bin1755.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=207.715 yref=30.5588 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/825144/ft1_filtered_4FGL_J1350.8+3033_daily_bin1755.fits', '/scratch/kocevski/825144/ft2_4FGL_J1350.8+3033_daily_bin1755.fits', expMap='/scratch/kocevski/825144/expmap_694224001_694483201_4FGL_J1350.8+3033_daily_bin1755.fits', expCube='/scratch/kocevski/825144/ltcube_694224001_694483201_4FGL_J1350.8+3033_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/825144/Model_4FGL_J1350.8+3033_daily_bin1755.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  0.000e+00  1.000e+06 ( 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/825144/ft1_filtered_4FGL_J1350.8+3033_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/825144/ft2_4FGL_J1350.8+3033_daily_bin1755.fits
Exposure map: /scratch/kocevski/825144/expmap_694224001_694483201_4FGL_J1350.8+3033_daily_bin1755.fits
Exposure cube: /scratch/kocevski/825144/ltcube_694224001_694483201_4FGL_J1350.8+3033_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/825144/Model_4FGL_J1350.8+3033_daily_bin1755.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) = 9639.84705113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32483E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    9.8556       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.963       1.0000          .0000       .10000E+07
     4 'norm      '    3.5406       1.0000          .0000       .10000E+07
     5 'norm      '    44.151       1.0000          .0000       .10000E+07
     6 'norm      '    .52649E-01   1.0000          .0000       .10000E+07
     7 'norm      '    14.958       1.0000          .0000       .10000E+07
     8 'Prefactor '    .71748E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .15906E-04   1.0000          .0000       .10000E+07
    10 'norm      '    33.297       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23965E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .69106E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.3654       1.0000          .0000       .10000E+07
    14 'Prefactor '    35.128       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.3370       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16386E-04   1.0000          .0000       .10000E+07
    17 'norm      '    3.8867       1.0000          .0000       .10000E+07
    18 'norm      '    .75884E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .29610E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .27278       1.0000          .0000       .10000E+07
    21 'Prefactor '    33.334       1.0000          .0000       .10000E+07
    22 'norm      '    2.9424       1.0000          .0000       .10000E+07
    23 'norm      '    4.1082       1.0000          .0000       .10000E+07
    24 'norm      '    5.9047       1.0000          .0000       .10000E+07
    25 'Prefactor '    40.179       1.0000          .0000       .10000E+07
    26 'Normalizat'    .78239       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0935       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9639.828     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     2457 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.5282       -.11273E-07** at limit **
   2  Prefactor     9.7353        1.6647        .65918E-08   -.20790E-01
   3  Prefactor     11.971        4.6807       -.20798E-07    .92603E-01
   4  norm          3.5390        3.4849       -.28982E-07   -.42109E-02
   5  norm          44.193        6.0745        .53160E-09    .71920E-03
   6  norm          .81435E-07    221.39        .21187E-06** at limit **
   7  norm          14.943        11.403       -.20620E-07    .35951E-01
   8  Prefactor      .0000        1.8648       -.15613E-07** at limit **
   9  Prefactor      .0000        4.0136       -.26490E-08** at limit **
  10  norm          33.303        8.1936       -.41982E-08   -.42882E-02
  11  Prefactor     .22482E-07    20.547        .13004E-06** at limit **
  12  norm           .0000        3.0884        .92131E-08** at limit **
  13  Prefactor     1.2955        1.3250       -.12887E-08   -.15850E-03
  14  Prefactor     35.095        3.3260       -.29849E-07    .34991E-01
  15  Prefactor     5.3345        3.3574        .63240E-08    .11689E-02
  16  Prefactor     .16653E-09    3.8209       -.37449E-07** at limit **
  17  norm          3.8841        5.0460       -.43315E-08   -.10237E-03
  18  norm           .0000        .58192        .11545E-07** at limit **
  19  Prefactor     .18957E-05    96.628       -.39753E-06** at limit **
  20  Prefactor     .12890        128.93       -.12733E-05** at limit **
  21  Prefactor     33.327        4.9341        .19504E-08    .27465E-02
  22  norm          2.9327        4.5463        .56442E-07    .12654E-02
  23  norm          4.1073        2.0491       -.11056E-07   -.21109E-02
  24  norm          5.8994        5.4950        .45513E-07    .21943E-02
  25  Prefactor     39.957        15.760       -.11215E-06   -.69844E-01
  26  Normalizat    .78285        .16689        .25053E-06   -.24643E-04
  27  Prefactor     1.0935        .18147        .10196E-06   -.21107E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 9.73527
  Prefactor  = 11.9711
  norm       = 3.53897
  norm       = 44.1926
  norm       = 8.14349e-08
  norm       = 14.9431
  Prefactor  = 0
  Prefactor  = 0
  norm       = 33.3026
  Prefactor  = 2.2482e-08
  norm       = 0
  Prefactor  = 1.2955
  Prefactor  = 35.0953
  Prefactor  = 5.33446
  Prefactor  = 1.66533e-10
  norm       = 3.88407
  norm       = 0
  Prefactor  = 1.89565e-06
  Prefactor  = 0.128901
  Prefactor  = 33.3274
  norm       = 2.93269
  norm       = 4.10727
  norm       = 5.89941
  Prefactor  = 39.9573
  Normalizat = 0.782854
  Prefactor  = 1.09354
 **********
 **   18 **HESSE 
 **********

 FCN=   9639.828     FROM HESSE     STATUS=OK           568 CALLS     3025 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.5257        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.7353        16.230        .31895E-03   -1.5646    
   3  Prefactor     11.971        11.362        .28937E-03   -1.5639    
   4  norm          3.5390        3.5342        .53695E-03   -1.5670    
   5  norm          44.193        7.8322        .15051E-03   -1.5575    
   6  norm          .81435E-07    6.1071        .12688E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          14.943        12.255        .25871E-03   -1.5631    
   8  Prefactor      .0000        1.8328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        3.9982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          33.303        8.1885        .17332E-03   -1.5593    
  11  Prefactor     .22482E-07    20.678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        3.0914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2955        70.853        .93352E-03   -1.5685    
  14  Prefactor     35.095        23.828        .16874E-03   -1.5589    
  15  Prefactor     5.3345        3.3577        .43479E-03   -1.5662    
  16  Prefactor     .16653E-09    3.8096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.8841        5.0514        .51156E-03   -1.5669    
  18  norm           .0000        .58074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18957E-05    5.1996        .67599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .12890        5.2331        .10602E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     33.327        4.9536        .17323E-03   -1.5593    
  22  norm          2.9327        4.5756        .59185E-03   -1.5674    
  23  norm          4.1073        2.0438        .49713E-03   -1.5667    
  24  norm          5.8994        5.5018        .41303E-03   -1.5659    
  25  Prefactor     39.957        33.736        .15778E-03   -1.5582    
  26  Normalizat    .78285        .14509        .62528E-01   -1.0071    
  27  Prefactor     1.0935        .15275        .60426E-01   -.89673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.64984e-07
Minuit parameter uncertainties:
  1  4.09469e-06
  2  16.2298
  3  11.3624
  4  3.53416
  5  7.83224
  6  0.00141024
  7  12.2549
  8  2.17829e-06
  9  4.21283e-06
  10  8.18854
  11  0.00136303
  12  9.66204e-06
  13  19.1617
  14  23.8278
  15  3.35767
  16  5.30693e-05
  17  5.05145
  18  1.92442e-06
  19  0.00627902
  20  1.64262
  21  4.95363
  22  4.57556
  23  2.04379
  24  5.50185
  25  33.7362
  26  0.145157
  27  0.152815
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  5.334e+00  3.358e+00  0.000e+00  1.000e+06 ( 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.094e+00  1.528e-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.829e-01  1.452e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.71
Ra Dec: 207.715 30.559
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 4.33e-08 +/- 2.72e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 8.75e-06

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) = 9638.37678683
delta logL = 1.4511415197

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9638.17019847
delta logL = 1.6577298771

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3602       1.0000          .0000       .10000E+07
     2 'Index     '    1.2745       1.0000          .0000       10.000    
     3 'Normalizat'    .81942       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0785       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=   9638.170     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      217 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3527        1.8263        .66681E-03   -.41442E-02
   2  Index         1.2731        .28829        .18741       -.10848E-03
   3  Normalizat    .81929        .13514        .43863E-01    .27961E-04
   4  Prefactor     1.0787        .15289        .60797E-01    .17441E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.35274
  Index      = 1.27306
  Normalizat = 0.819293
  Prefactor  = 1.07869
 **********
 **   18 **HESSE 
 **********

 FCN=   9638.170     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3527        3.2272        .10470E-04   -1.5677    
   2  Index         1.2731        .55110        .76229E-02   -.84112    
   3  Normalizat    .81929        .15837        .27040E-03   -.99357    
   4  Prefactor     1.0787        .17905        .26886E-03   -.90150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51639e-09
Minuit parameter uncertainties:
  1  3.2272
  2  0.553638
  3  0.158456
  4  0.179151
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/825144': 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) = 9638.17019512
delta logL = 1.65773322999

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  2.353e+00  3.227e+00  0.000e+00  1.000e+06 ( 1.000e-12)
289        Index:  1.273e+00  5.536e-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.079e+00  1.792e-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.193e-01  1.585e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.94
Ra Dec: 207.715 30.559
Photon Index (Free Index): 1.27 +/- 0.55
Photon Flux (Free Index): 8.91e-09 +/- 1.03e-08
Energy Flux (Free Index): 5.94e-05 +/- 6.51e-05

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/825144/cmap_HighResolution_694224001_694483201_4FGL_J1350.8+3033_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.33e-08', energy_flux2='5.94e-05', photon_flux_error='2.72e-08', dlogl='1.66e+00', energy_flux='1.39e-05', photon_flux2='8.91e-09', job_status='DONE', time_completed='2023-01-04 01:20:03.131424', photon_index_error2='0.55', photon_index2='1.27', ts='6.71', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='6.51e-05', EG='0.78', time_epoch_completed='1672824003.13', return_code='0', job_id='825144', GAL2='1.08', EG2='0.82', return_code2='0', energy_flux_error='8.75e-06', photon_flux_error2='1.03e-08', ts2='9.94', photon_index='2.42' WHERE bin_id='1755' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:20:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 825144: <4FGL_J1350.8+3033_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin1755> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan  4 01:05:22 2023
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 01:06:01 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 01:06:01 2023
Terminated at Wed Jan  4 01:20:04 2023
Results reported at Wed Jan  4 01:20:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin1755 207.715 30.5588 694224001 694483201 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 :                                   792.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            882 sec.

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

