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


Performing analysis on: 4FGL_J1549.3+6310_daily_bin1768
RA = 237.332, Dec = 63.178
tmin = 697593601, tmax = 697852801
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='275525', job_status='RUN', time_executed='2023-02-12 01:12:35.954929', time_epoch_executed='1676193155.95' WHERE source_name='4FGL J1549.3+6310' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/275525

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/275525/ft1_4FGL_J1549.3+6310_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/275525/ft2_4FGL_J1549.3+6310_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/275525/ft1_4FGL_J1549.3+6310_daily_bin1768.fits outfile=/scratch/kocevski/275525/ft1_filteredMKT_4FGL_J1549.3+6310_daily_bin1768.fits ra=237.332 dec=63.178 rad=12.0 tmin=697593601.0 tmax=697852801.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.67
user 3.43
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/275525/ft2_4FGL_J1549.3+6310_daily_bin1768.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/275525/ft2_4FGL_J1549.3+6310_daily_bin1768.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/275525/ft1_filteredMKT_4FGL_J1549.3+6310_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/275525/ft1_filtered_4FGL_J1549.3+6310_daily_bin1768.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.64
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 555

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/275525/ft1_filtered_4FGL_J1549.3+6310_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/275525/ft2_4FGL_J1549.3+6310_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/275525/ltcube_697593601_697852801_4FGL_J1549.3+6310_daily_bin1768.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/275525/ft2_4FGL_J1549.3+6310_daily_bin1768.fits
.....................!
real 14.83
user 14.40
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/275525/ft1_filtered_4FGL_J1549.3+6310_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/275525/ft2_4FGL_J1549.3+6310_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/275525/ltcube_697593601_697852801_4FGL_J1549.3+6310_daily_bin1768.fits outfile=/scratch/kocevski/275525/expmap_697593601_697852801_4FGL_J1549.3+6310_daily_bin1768.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/275525/ltcube_697593601_697852801_4FGL_J1549.3+6310_daily_bin1768.fits
.....................!
real 192.39
user 186.81
sys 4.91

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 216 point sources and 0 extended sources

Setting source of interest to:
4FGL J1549.3+6310 @ 237.332 63.178

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/275525/ft1_filtered_4FGL_J1549.3+6310_daily_bin1768.fits scfile=/scratch/kocevski/275525/ft2_4FGL_J1549.3+6310_daily_bin1768.fits outfile=/scratch/kocevski/275525/cmap_697593601_697852801_4FGL_J1549.3+6310_daily_bin1768.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=237.332 yref=63.178 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/275525/ft1_filtered_4FGL_J1549.3+6310_daily_bin1768.fits scfile=/scratch/kocevski/275525/ft2_4FGL_J1549.3+6310_daily_bin1768.fits outfile=/scratch/kocevski/275525/cmap_HighResolution_697593601_697852801_4FGL_J1549.3+6310_daily_bin1768.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=237.332 yref=63.178 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/275525/ft1_filtered_4FGL_J1549.3+6310_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/275525/ft2_4FGL_J1549.3+6310_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/275525/Model_4FGL_J1549.3+6310_daily_bin1768.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/275525/ft1_filtered_4FGL_J1549.3+6310_daily_bin1768.fits.....................!
real 54.02
user 51.69
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/275525/ft1_filtered_4FGL_J1549.3+6310_daily_bin1768.fits', '/scratch/kocevski/275525/ft2_4FGL_J1549.3+6310_daily_bin1768.fits', expMap='/scratch/kocevski/275525/expmap_697593601_697852801_4FGL_J1549.3+6310_daily_bin1768.fits', expCube='/scratch/kocevski/275525/ltcube_697593601_697852801_4FGL_J1549.3+6310_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/275525/Model_4FGL_J1549.3+6310_daily_bin1768.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1549.3+6310'

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  7.296e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
345        Index:  2.442e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
346        Scale:  1.323e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/275525/ft1_filtered_4FGL_J1549.3+6310_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/275525/ft2_4FGL_J1549.3+6310_daily_bin1768.fits
Exposure map: /scratch/kocevski/275525/expmap_697593601_697852801_4FGL_J1549.3+6310_daily_bin1768.fits
Exposure cube: /scratch/kocevski/275525/ltcube_697593601_697852801_4FGL_J1549.3+6310_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/275525/Model_4FGL_J1549.3+6310_daily_bin1768.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) = 6037.91965329

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.669       1.0000          .0000       .10000E+07
     2 'Prefactor '    .55732E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.237       1.0000          .0000       .10000E+07
     4 'Prefactor '    .38035E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19365E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.2079       1.0000          .0000       .10000E+07
     7 'Prefactor '    42.814       1.0000          .0000       .10000E+07
     8 'norm      '    .86653E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.8621       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.2600       1.0000          .0000       .10000E+07
    11 'norm      '    1.4241       1.0000          .0000       .10000E+07
    12 'Prefactor '    37.111       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23736E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.6942       1.0000          .0000       .10000E+07
    15 'Prefactor '    65.549       1.0000          .0000       .10000E+07
    16 'norm      '    13.738       1.0000          .0000       .10000E+07
    17 'Prefactor '    .22418E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .16692E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .25567       1.0000          .0000       .10000E+07
    20 'Prefactor '    .63880E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    7.2866       1.0000          .0000       .10000E+07
    22 'Prefactor '    111.52       1.0000          .0000       .10000E+07
    23 'Normalizat'    .90076       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89293       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6037.856     FROM MIGRAD    STATUS=CONVERGED    283 CALLS     2206 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.195        18.818       -.17148E-07    .19768    
   2  Prefactor      .0000        9.7696       -.79427E-08** at limit **
   3  Prefactor     10.249        15.292       -.34259E-07   -.11197E-03
   4  Prefactor      .0000        6.0592        .11750E-07** at limit **
   5  Prefactor      .0000        6.0290       -.15982E-07** at limit **
   6  Prefactor     4.2495        7.5746       -.21679E-07    .36979E-03
   7  Prefactor     43.296        12.232        .13166E-07   -.29349E-01
   8  norm           .0000        .85395       -.11515E-09** at limit **
   9  Prefactor     5.8988        159.83       -.12026E-07   -.16050E-01
  10  Prefactor     3.2669        4.9653       -.15688E-07   -.36773E-03
  11  norm          1.4478        5.4728       -.38816E-08    .18944E-03
  12  Prefactor     36.456        31.119       -.83295E-08   -.12287E-01
  13  Prefactor     .12657E-07    33.769        .66496E-08** at limit **
  14  Prefactor     1.7454        7.0052       -.54765E-07   -.64161E-04
  15  Prefactor     67.335        38.891        .96972E-07   -.14363E-01
  16  norm          13.796        9.7428        .28788E-08    .16399E-02
  17  Prefactor      .0000        18.030       -.60461E-07** at limit **
  18  norm          .55511E-10    19.653       -.15509E-07** at limit **
  19  Prefactor     .18262        44.614        .56736E-06** at limit **
  20  Prefactor     .33298E-04    361.29       -.12812E-05** at limit **
  21  Prefactor     7.1368        12.753       -.86708E-07    .76370E-03
  22  Prefactor     113.93        132.96        .27827E-06   -.20335E-01
  23  Normalizat    .90033        .18394        .75264E-07    .22323E-03
  24  Prefactor     .89167        .17759        .13195E-05    .27147E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.1951
  Prefactor  = 0
  Prefactor  = 10.2486
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.24947
  Prefactor  = 43.2959
  norm       = 0
  Prefactor  = 5.89876
  Prefactor  = 3.26693
  norm       = 1.44777
  Prefactor  = 36.4555
  Prefactor  = 1.26565e-08
  Prefactor  = 1.74536
  Prefactor  = 67.3347
  norm       = 13.7955
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 0.182615
  Prefactor  = 3.32978e-05
  Prefactor  = 7.13682
  Prefactor  = 113.931
  Normalizat = 0.900334
  Prefactor  = 0.891669
 **********
 **   18 **HESSE 
 **********

 FCN=   6037.856     FROM HESSE     STATUS=OK           467 CALLS     2673 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.195        45.638        .14335E-03   -1.5568    
   2  Prefactor      .0000        9.8141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.249        15.306        .31292E-03   -1.5644    
   4  Prefactor      .0000        6.0770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.2495        7.5574        .49102E-03   -1.5667    
   7  Prefactor     43.296        34.299        .15284E-03   -1.5576    
   8  norm           .0000        .85433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.8988        173.22        .51324E-03   -1.5659    
  10  Prefactor     3.2669        5.0294        .56065E-03   -1.5672    
  11  norm          1.4478        5.5868        .90573E-03   -1.5684    
  12  Prefactor     36.456        33.254        .16417E-03   -1.5587    
  13  Prefactor     .12657E-07    34.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7454        7.0117        .80820E-03   -1.5682    
  15  Prefactor     67.335        40.618        .12352E-03   -1.5544    
  16  norm          13.796        9.7841        .26998E-03   -1.5634    
  17  Prefactor      .0000        18.040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .55511E-10    .35487        .30434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18262        3.6158        .81352E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33298E-04    21.343        .65712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.1368        13.109        .37134E-03   -1.5655    
  22  Prefactor     113.93        136.76        .94702E-04   -1.5494    
  23  Normalizat    .90033        .15884        .44911E-01   -.96448    
  24  Prefactor     .89167        .15296        .44915E-01   -.96433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74218e-06
Minuit parameter uncertainties:
  1  45.6388
  2  2.38209e-05
  3  15.3057
  4  1.83901e-05
  5  6.09376e-06
  6  7.55741
  7  34.2988
  8  7.12732e-07
  9  63.9323
  10  5.02937
  11  5.58684
  12  33.2542
  13  0.00131257
  14  6.99656
  15  40.6178
  16  9.78415
  17  4.30434e-05
  18  7.6584e-06
  19  1.62518
  20  0.0533172
  21  13.1086
  22  136.762
  23  0.158919
  24  0.153037
Done.

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

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  5.899e+00  6.393e+01  0.000e+00  1.000e+06 ( 1.000e-14)
345        Index:  2.442e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
346        Scale:  1.323e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
685    Prefactor:  8.917e-01  1.530e-01  0.000e+00  1.000e+01 ( 1.000e+00)
686        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
687        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
684   Normalization:  9.003e-01  1.589e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 237.332 63.178
Photon Flux Upper Limit: 6.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/275525/likelihoodResults_697593601_697852801_4FGL_J1549.3+6310_daily_bin1768.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): 0
logL (Free Index) = 6037.8553372
delta logL = 0.000779979962317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6037.85479816
delta logL = 0.00131901493569

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9357       1.0000          .0000       .10000E+07
     2 'Index     '    2.3168       1.0000          .0000       10.000    
     3 'Normalizat'    .90066       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89159       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6037.855     FROM MIGRAD    STATUS=FAILED        87 CALLS      273 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9970        211.83        .14228E-04    .17579E-04
   2  Index         2.3111        2.3315        .85896E-02    .14781E-03
   3  Normalizat    .90044        .17543        .22831E-03    .44546E-02
   4  Prefactor     .89142        .17508        .22784E-03    .43608E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6037.855     FROM SIMPLEX   STATUS=UNCHANGED     76 CALLS      349 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9970        211.83        .12578E-03   -1.5651    
   2  Index         2.3111        2.3315        .21867E-02   -.56780    
   3  Normalizat    .90044        .17543        .25824E-03   -.96445    
   4  Prefactor     .89142        .17508        .30805E-03   -.96442    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6037.855     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      377 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0017        197.71        .56911E-06    .34244E-03
   2  Index         2.3109        2.2570        .34358E-03   -.10291E-04
   3  Normalizat    .90043        .17559        .45662E-04    .72701E-05
   4  Prefactor     .89141        .17520        .45569E-04    .48899E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.00169
  Index      = 2.31092
  Normalizat = 0.900431
  Prefactor  = 0.891411
 **********
 **   18 **HESSE 
 **********

 FCN=   6037.855     FROM HESSE     STATUS=OK            23 CALLS      400 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0017        197.17        .37316E-06   -1.5651    
   2  Index         2.3109        2.2533        .13743E-04   -.56785    
   3  Normalizat    .90043        .17561        .91323E-05   -.96445    
   4  Prefactor     .89141        .17522        .91137E-05   -.96442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58523e-10
Minuit parameter uncertainties:
  1  79.4441
  2  2.37732
  3  0.175718
  4  0.175335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/275525': 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) = 6037.85478444
delta logL = 0.00133273400479

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  8.002e+00  7.944e+01  0.000e+00  1.000e+06 ( 1.000e-14)
345        Index:  2.311e+00  2.377e+00  0.000e+00  1.000e+01 (-1.000e+00)
346        Scale:  1.323e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
685    Prefactor:  8.914e-01  1.753e-01  0.000e+00  1.000e+01 ( 1.000e+00)
686        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
687        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
684   Normalization:  9.004e-01  1.757e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 237.332 63.178

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/275525/cmap_HighResolution_697593601_697852801_4FGL_J1549.3+6310_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.34e-03', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2023-02-12 01:25:17.123063', job_id='275525', GAL2='0.89', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1676193917.12', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.33e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1768' AND source_name='4FGL J1549.3+6310' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:25:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 275525: <4FGL_J1549.3+6310_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1549.3+6310_daily_bin1768> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Feb 12 01:10:16 2023
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:11:32 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:11:32 2023
Terminated at Sun Feb 12 01:25:17 2023
Results reported at Sun Feb 12 01:25:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.3+6310_daily_bin1768 237.332 63.178 697593601 697852801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1549.3+6310 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   761.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            901 sec.

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

