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


Performing analysis on: 4FGL_J1350.8+3033_daily_bin1778
RA = 207.715, Dec = 30.5588
tmin = 700185601, tmax = 700444801
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='965771', job_status='RUN', time_executed='2023-03-14 01:11:31.409233', time_epoch_executed='1678781491.41' WHERE source_name='4FGL J1350.8+3033' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/965771

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/965771/ft1_4FGL_J1350.8+3033_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/965771/ft2_4FGL_J1350.8+3033_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/965771/ft1_4FGL_J1350.8+3033_daily_bin1778.fits outfile=/scratch/kocevski/965771/ft1_filteredMKT_4FGL_J1350.8+3033_daily_bin1778.fits ra=207.715 dec=30.5588 rad=12.0 tmin=700185601.0 tmax=700444801.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.98
user 3.75
sys 0.21

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

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

Number of photons that the gtmktime cut: 600

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/965771/ft1_filtered_4FGL_J1350.8+3033_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/965771/ft2_4FGL_J1350.8+3033_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/965771/ltcube_700185601_700444801_4FGL_J1350.8+3033_daily_bin1778.fits outfile=/scratch/kocevski/965771/expmap_700185601_700444801_4FGL_J1350.8+3033_daily_bin1778.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/965771/ltcube_700185601_700444801_4FGL_J1350.8+3033_daily_bin1778.fits
.....................!
real 191.53
user 186.03
sys 5.13

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/965771/ft1_filtered_4FGL_J1350.8+3033_daily_bin1778.fits scfile=/scratch/kocevski/965771/ft2_4FGL_J1350.8+3033_daily_bin1778.fits outfile=/scratch/kocevski/965771/cmap_700185601_700444801_4FGL_J1350.8+3033_daily_bin1778.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/965771/ft1_filtered_4FGL_J1350.8+3033_daily_bin1778.fits scfile=/scratch/kocevski/965771/ft2_4FGL_J1350.8+3033_daily_bin1778.fits outfile=/scratch/kocevski/965771/cmap_HighResolution_700185601_700444801_4FGL_J1350.8+3033_daily_bin1778.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46014E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    36.092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11557E-02   1.0000          .0000       .10000E+07
     4 'norm      '    3.3300       1.0000          .0000       .10000E+07
     5 'norm      '    15.028       1.0000          .0000       .10000E+07
     6 'norm      '    7.1929       1.0000          .0000       .10000E+07
     7 'norm      '    .15044E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .77827E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10961E-05   1.0000          .0000       .10000E+07
    10 'norm      '    32.815       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9056       1.0000          .0000       .10000E+07
    12 'norm      '    .88524E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.1894       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.623       1.0000          .0000       .10000E+07
    15 'Prefactor '    .89923       1.0000          .0000       .10000E+07
    16 'Prefactor '    21.841       1.0000          .0000       .10000E+07
    17 'norm      '    .40690E-07   1.0000          .0000       .10000E+07
    18 'norm      '    .11924E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .14184E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .30425E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    13.018       1.0000          .0000       .10000E+07
    22 'norm      '    .67168E-08   1.0000          .0000       .10000E+07
    23 'norm      '    5.3405       1.0000          .0000       .10000E+07
    24 'norm      '    6.1445       1.0000          .0000       .10000E+07
    25 'Prefactor '    429.50       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.2212       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .74870       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=   6732.422     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1512 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    2.9480       -.11719E-06** at limit **
   2  Prefactor     36.076        1.7796        .30542E-08    .16157E-01
   3  Prefactor     .39413E-08    13.463       -.11516E-06** at limit **
   4  norm          3.3181        4.8507       -.41706E-08   -.17152E-02
   5  norm          15.045        7.1036        .10662E-05    .12795E-01
   6  norm          7.2051        9.5643       -.24074E-05   -.17679E-01
   7  norm          .31086E-08    3.8152       -.21915E-07** at limit **
   8  Prefactor     .11102E-09    2.4264        .51605E-08** at limit **
   9  Prefactor     .26090E-08    3.4546        .39220E-06** at limit **
  10  norm          32.827        9.3355        .94292E-06    .32233E-01
  11  Prefactor     5.1692        189.24       -.37064E-05    .15780E-02
  12  norm          .40523E-08    4.8717       -.77020E-06** at limit **
  13  Prefactor     7.2072        5.7419        .16827E-05   -.29180E-01
  14  Prefactor     11.574        4.0767        .88477E-06   -.34385E-01
  15  Prefactor     .91864        1.4837       -.85935E-06    .69477E-02
  16  Prefactor     21.869        6.3177       -.94989E-06   -.21815E-01
  17  norm          .45519E-08    4.5427        .16031E-05** at limit **
  18  norm           .0000        1.8830        .16655E-07** at limit **
  19  Prefactor     .20373E-07    36.620        .75243E-06** at limit **
  20  Prefactor     .22204E-09    24.720       -.77082E-06** at limit **
  21  Prefactor     13.032        5.0334        .63133E-07   -.37965E-03
  22  norm          .61062E-09    4.1158       -.79995E-06** at limit **
  23  norm          5.3422        2.5342        .19471E-08   -.17212E-02
  24  norm          6.1600        7.6040        .32965E-06   -.43688E-03
  25  Prefactor     429.61        4.0842        .10875E-06   -.35457    
  26  Normalizat    1.2196        .21571       -.10468E-04   -.32595E-03
  27  Prefactor     .74929        .21769        .78137E-05   -.25028E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 36.0762
  Prefactor  = 3.94129e-09
  norm       = 3.31808
  norm       = 15.0451
  norm       = 7.20512
  norm       = 3.10862e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 2.60902e-09
  norm       = 32.8274
  Prefactor  = 5.16916
  norm       = 4.05231e-09
  Prefactor  = 7.20718
  Prefactor  = 11.5741
  Prefactor  = 0.918641
  Prefactor  = 21.8685
  norm       = 4.55191e-09
  norm       = 0
  Prefactor  = 2.03726e-08
  Prefactor  = 2.22045e-10
  Prefactor  = 13.0318
  norm       = 6.10623e-10
  norm       = 5.34216
  norm       = 6.16004
  Prefactor  = 429.609
  Normalizat = 1.21963
  Prefactor  = 0.749291
 **********
 **   18 **HESSE 
 **********

 FCN=   6732.422     FROM HESSE     STATUS=OK           544 CALLS     2056 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    2.9480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     36.076        35.721        .16647E-03   -1.5588    
   3  Prefactor     .39413E-08    13.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.3181        4.9178        .55444E-03   -1.5672    
   5  norm          15.045        8.5126        .25810E-03   -1.5630    
   6  norm          7.2051        11.578        .37377E-03   -1.5654    
   7  norm          .31086E-08    7.1723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    2.3940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .26090E-08    7.1428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          32.827        9.7086        .17459E-03   -1.5593    
  11  Prefactor     5.1692        188.10        .59583E-03   -1.5662    
  12  norm          .40523E-08    4.9060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.2072        20.219        .37386E-03   -1.5654    
  14  Prefactor     11.574        27.492        .29359E-03   -1.5640    
  15  Prefactor     .91864        6.2084        .45814E-03   -1.5689    
  16  Prefactor     21.869        13.810        .21403E-03   -1.5614    
  17  norm          .45519E-08    4.6327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.8787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .20373E-07    36.637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22204E-09    24.779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.032        5.0548        .27736E-03   -1.5636    
  22  norm          .61062E-09    4.1226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.3422        2.5351        .43465E-03   -1.5662    
  24  norm          6.1600        7.6071        .40477E-03   -1.5658    
  25  Prefactor     429.61        94.894        .48263E-04   -1.5293    
  26  Normalizat    1.2196        .18667        .55380E-01   -.85998    
  27  Prefactor     .74929        .18305        .71842E-01   -1.0163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83351e-06
Minuit parameter uncertainties:
  1  2.80129e-05
  2  35.7216
  3  0.000461619
  4  4.91779
  5  8.51257
  6  11.5777
  7  0.000299142
  8  3.09971e-05
  9  0.000272411
  10  9.70858
  11  62.367
  12  0.000281098
  13  20.2193
  14  27.492
  15  4.77632
  16  13.8097
  17  0.000289615
  18  1.21049e-06
  19  0.00172755
  20  0.000149061
  21  5.05475
  22  0.000100986
  23  2.53511
  24  7.60712
  25  94.894
  26  0.186768
  27  0.183196
Done.

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

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  9.186e-01  4.776e+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:  7.493e-01  1.832e-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.220e+00  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 207.715 30.559
Photon Flux Upper Limit: 9.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/965771/likelihoodResults_700185601_700444801_4FGL_J1350.8+3033_daily_bin1778.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6730.40749628
delta logL = 2.01415989729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6730.19622423
delta logL = 2.22543194228

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71525E-03   1.0000          .0000       .10000E+07
     2 'Index     '    8.2364       1.0000          .0000       10.000    
     3 'Normalizat'    1.0989       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83903       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=   6730.196     FROM MIGRAD    STATUS=CONVERGED    224 CALLS      572 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71446E-03    .13221E-01    .28976E-04** at limit **
   2  Index         8.2373        7.6584        .14405       -.17946E-04
   3  Normalizat    1.0989        .16260        .57823E-01    .29717E-03
   4  Prefactor     .83896        .16818        .68357E-01    .17189E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000714464
  Index      = 8.23728
  Normalizat = 1.0989
  Prefactor  = 0.838961
 **********
 **   18 **HESSE 
 **********

 FCN=   6730.196     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      605 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71446E-03    .12479E-01    .12350E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.2373        7.7827        .60752E-02   -24.429    
   3  Normalizat    1.0989        .20865        .25571E-03   -.89787    
   4  Prefactor     .83896        .21577        .30242E-03   -.98308    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.68228e-10
Minuit parameter uncertainties:
  1  0.00597197
  2  4.52917
  3  0.208803
  4  0.215993
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/965771': 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): 102
logL (Free Index) = 6730.19622337
delta logL = 2.22543280097

Extracting fit parameters...

4FGL J1350.8+3033
   Spectrum: PowerLaw
288    Prefactor:  7.145e-04  5.972e-03  0.000e+00  1.000e+06 ( 1.000e-12)
289        Index:  8.237e+00  4.529e+00  0.000e+00  1.000e+01 (-1.000e+00)
290        Scale:  7.126e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  8.390e-01  2.160e-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.099e+00  2.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.78
Ra Dec: 207.715 30.559
Photon Index (Free Index): 8.24 +/- 4.53
Photon Flux (Free Index): 1.07e-07 +/- 1.74e-06
Energy Flux (Free Index): 1.23e-05 +/- 2.01e-04

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/965771/cmap_HighResolution_700185601_700444801_4FGL_J1350.8+3033_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.42e-03', comment='SUCCESS', energy_flux2='1.23e-05', dlogl='2.23e+00', photon_flux2='1.07e-07', job_status='DONE', time_completed='2023-03-14 01:22:02.401036', photon_index_error2='4.53', photon_index2='8.24', ts='0.04', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='9.59e-08', energy_flux_error2='2.01e-04', EG='1.22', time_epoch_completed='1678782122.4', return_code='0', job_id='965771', GAL2='0.84', EG2='1.10', return_code2='102', photon_flux_error2='1.74e-06', ts2='4.78', photon_index='2.42' WHERE bin_id='1778' AND source_name='4FGL J1350.8+3033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:22:02 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 965771: <4FGL_J1350.8+3033_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1350.8+3033_daily_bin1778> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Mar 14 01:10:13 2023
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 01:10:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 01:10:14 2023
Terminated at Tue Mar 14 01:22:02 2023
Results reported at Tue Mar 14 01:22:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1350.8+3033_daily_bin1778 207.715 30.5588 700185601 700444801 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 :                                   633.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            709 sec.

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

