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


Performing analysis on: 4FGL_J1549.3+6310_daily_bin435
RA = 237.332, Dec = 63.178
tmin = 352080001, tmax = 352339201
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='727309', job_status='RUN', time_executed='2021-09-12 14:22:41.998880', time_epoch_executed='1631481762.0' WHERE source_name='4FGL J1549.3+6310' and cadence='daily' and bin_id='435'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/727309

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/727309/ft1_4FGL_J1549.3+6310_daily_bin435.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/727309/ft2_4FGL_J1549.3+6310_daily_bin435.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/727309/ft1_4FGL_J1549.3+6310_daily_bin435.fits outfile=/scratch/kocevski/727309/ft1_filteredMKT_4FGL_J1549.3+6310_daily_bin435.fits ra=237.332 dec=63.178 rad=12.0 tmin=352080001.0 tmax=352339201.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.45
user 3.23
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/727309/ft1_filtered_4FGL_J1549.3+6310_daily_bin435.fits" evtable="EVENTS" scfile=/scratch/kocevski/727309/ft2_4FGL_J1549.3+6310_daily_bin435.fits sctable="SC_DATA" outfile=/scratch/kocevski/727309/ltcube_352080001_352339201_4FGL_J1549.3+6310_daily_bin435.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/727309/ft2_4FGL_J1549.3+6310_daily_bin435.fits
.....................!
real 14.06
user 13.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/727309/ft1_filtered_4FGL_J1549.3+6310_daily_bin435.fits evtable="EVENTS" scfile=/scratch/kocevski/727309/ft2_4FGL_J1549.3+6310_daily_bin435.fits sctable="SC_DATA" expcube=/scratch/kocevski/727309/ltcube_352080001_352339201_4FGL_J1549.3+6310_daily_bin435.fits outfile=/scratch/kocevski/727309/expmap_352080001_352339201_4FGL_J1549.3+6310_daily_bin435.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/727309/ltcube_352080001_352339201_4FGL_J1549.3+6310_daily_bin435.fits
.....................!
real 192.79
user 186.39
sys 5.78

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/727309/ft1_filtered_4FGL_J1549.3+6310_daily_bin435.fits scfile=/scratch/kocevski/727309/ft2_4FGL_J1549.3+6310_daily_bin435.fits outfile=/scratch/kocevski/727309/cmap_352080001_352339201_4FGL_J1549.3+6310_daily_bin435.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/727309/ft1_filtered_4FGL_J1549.3+6310_daily_bin435.fits scfile=/scratch/kocevski/727309/ft2_4FGL_J1549.3+6310_daily_bin435.fits outfile=/scratch/kocevski/727309/cmap_HighResolution_352080001_352339201_4FGL_J1549.3+6310_daily_bin435.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/727309/ft1_filtered_4FGL_J1549.3+6310_daily_bin435.fits', '/scratch/kocevski/727309/ft2_4FGL_J1549.3+6310_daily_bin435.fits', expMap='/scratch/kocevski/727309/expmap_352080001_352339201_4FGL_J1549.3+6310_daily_bin435.fits', expCube='/scratch/kocevski/727309/ltcube_352080001_352339201_4FGL_J1549.3+6310_daily_bin435.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/727309/Model_4FGL_J1549.3+6310_daily_bin435.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  1.000e-04  1.000e+04 ( 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/727309/ft1_filtered_4FGL_J1549.3+6310_daily_bin435.fits
Spacecraft file(s): /scratch/kocevski/727309/ft2_4FGL_J1549.3+6310_daily_bin435.fits
Exposure map: /scratch/kocevski/727309/expmap_352080001_352339201_4FGL_J1549.3+6310_daily_bin435.fits
Exposure cube: /scratch/kocevski/727309/ltcube_352080001_352339201_4FGL_J1549.3+6310_daily_bin435.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/727309/Model_4FGL_J1549.3+6310_daily_bin435.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) = 7517.43311236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1567       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    25.984       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5384       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.502       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3700       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.873       1.0000         .10000E-03   10000.    
    10 'norm      '    5.1693       1.0000         .10000E-03   10000.    
    11 'Prefactor '    65.146       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.8933       1.0000         .10000E-03   10000.    
    13 'norm      '    6.6760       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.6361       1.0000         .10000E-03   10000.    
    20 'norm      '    .49455       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    22.297       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.4057       1.0000         .10000E-03   10000.    
    24 'Prefactor '    115.32       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.2013       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .71309       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.

 FCN=   7517.272     FROM MIGRAD    STATUS=CONVERGED    610 CALLS     2706 TOTAL
                     EDM=   .86E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1624        80.157        .13556E-05    .15341E-05
   2  Prefactor     .10000E-03    168.00       -.50036E-06** at limit **
   3  Prefactor     25.983        28.943        .11745E-06   -.14773E-05
   4  Prefactor     1.5378        13.352       -.32966E-06   -.15961E-05
   5  Prefactor     15.503        26.733        .50867E-06   -.22133E-05
   6  Prefactor     .10000E-03    3.6962        .16559E-06** at limit **
   7  Prefactor     2.3706        6.4836        .12937E-05    .14117E-05
   8  Prefactor     .10000E-03    5.2738        .31785E-07** at limit **
   9  Prefactor     19.874        23.794        .18922E-06   -.64437E-06
  10  norm          5.1694        2.3417       -.11780E-07   -.11586E-04
  11  Prefactor     65.130        51.612        .18142E-05    .13884E-04
  12  Prefactor     9.8935        9.4786        .18717E-07   -.77913E-05
  13  norm          6.6766        7.3406        .18975E-06   -.70383E-05
  14  Prefactor     .10000E-03    32.296        .12928E-06** at limit **
  15  Prefactor     .10000E-03    44.470        .47798E-07** at limit **
  16  Prefactor     .10000E-03    3.4851       -.46633E-08** at limit **
  17  Prefactor     .10000E-03    9.7846        .56761E-08** at limit **
  18  norm          .10000E-03    4.5787       -.27680E-07** at limit **
  19  Prefactor     7.6352        9.0317       -.47089E-06   -.35200E-04
  20  norm          .49453        .68636        .47064E-07    .87553E-04
  21  Prefactor     .10000E-03    2.1504       -.14305E-07** at limit **
  22  Prefactor     22.298        14.941       -.14859E-07   -.18780E-04
  23  Prefactor     1.4104        10.963        .26224E-05   -.26789E-04
  24  Prefactor     115.24        94.515        .30378E-06   -.15588E-04
  25  Normalizat    1.2013        .16089       -.10571E-05   -.36211E-04
  26  Prefactor     .71314        .15152        .19316E-06   -.75641E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.16244
  Prefactor  = 0.0001
  Prefactor  = 25.9835
  Prefactor  = 1.53782
  Prefactor  = 15.5029
  Prefactor  = 0.0001
  Prefactor  = 2.37056
  Prefactor  = 0.0001
  Prefactor  = 19.8742
  norm       = 5.16942
  Prefactor  = 65.1297
  Prefactor  = 9.89347
  norm       = 6.6766
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.63525
  norm       = 0.494525
  Prefactor  = 0.0001
  Prefactor  = 22.2983
  Prefactor  = 1.41045
  Prefactor  = 115.245
  Normalizat = 1.20126
  Prefactor  = 0.713136
 **********
 **   18 **HESSE 
 **********

 FCN=   7517.272     FROM HESSE     STATUS=OK           466 CALLS     3172 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1624        80.704        .28052E-03   -1.5414    
   2  Prefactor     .10000E-03    168.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     25.983        28.944        .78588E-04   -1.4688    
   4  Prefactor     1.5378        13.389        .34384E-03   -1.5460    
   5  Prefactor     15.503        26.754        .10173E-03   -1.4920    
   6  Prefactor     .10000E-03    3.7288        .16290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3706        6.4898        .13308E-02   -1.5400    
   8  Prefactor     .10000E-03    5.2866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.874        23.803        .89846E-04   -1.4816    
  10  norm          5.1694        2.3421        .43207E-03   -1.5253    
  11  Prefactor     65.130        51.746        .24861E-03   -1.4092    
  12  Prefactor     9.8935        9.4452        .12740E-03   -1.5079    
  13  norm          6.6766        7.3108        .77651E-03   -1.5191    
  14  Prefactor     .10000E-03    32.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    44.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.5227        .15798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.7879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.6232        .18112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.6352        9.0443        .14512E-03   -1.5155    
  20  norm          .49453        .62333        .74171E-03   -1.5567    
  21  Prefactor     .10000E-03    2.1567        .12411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     22.298        14.479        .84826E-04   -1.4763    
  23  Prefactor     1.4104        11.056        .36568E-03   -1.5470    
  24  Prefactor     115.24        94.911        .18733E-03   -1.3557    
  25  Normalizat    1.2013        .18288        .21516E-03   -.86564    
  26  Prefactor     .71314        .17334        .26364E-03   -1.0301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.81063e-11
Minuit parameter uncertainties:
  1  26.4589
  2  2.06731e-05
  3  28.9596
  4  9.07772
  5  26.7745
  6  4.73476e-06
  7  6.49175
  8  2.8993e-06
  9  23.8144
  10  2.34219
  11  51.7821
  12  9.44659
  13  7.31173
  14  1.66477e-05
  15  5.66551e-06
  16  4.25874e-06
  17  1.50854e-06
  18  1.07776e-06
  19  9.04596
  20  0.623343
  21  1.78617e-08
  22  14.4814
  23  7.89947
  24  95.0365
  25  0.182972
  26  0.173473
Done.

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

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  6.513e+01  5.178e+01  1.000e-04  1.000e+04 ( 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:  7.131e-01  1.735e-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:  1.201e+00  1.830e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.19
Ra Dec: 237.332 63.178
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 2.48e-08 +/- 1.97e-08
Energy Flux (Fixed Index): 7.70e-06 +/- 6.12e-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) = 7515.21745621
delta logL = 2.05474424892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7514.86325128
delta logL = 2.40894917193

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    139.86       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4628       1.0000          .0000       10.000    
     3 'Normalizat'    1.2162       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70272       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.

 FCN=   7514.863     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      256 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     140.17        108.49        .17031E-03    .29371E-05
   2  Index         1.4635        .41101        .81631E-02   -.11479E-03
   3  Normalizat    1.2166        .17372        .21395E-03    .15304E-04
   4  Prefactor     .70253        .16906        .26527E-03    .95570E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 140.172
  Index      = 1.4635
  Normalizat = 1.21656
  Prefactor  = 0.702527
 **********
 **   18 **HESSE 
 **********

 FCN=   7514.863     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     140.17        109.50        .68124E-05   -1.3335    
   2  Index         1.4635        .41487        .16326E-02   -.78567    
   3  Normalizat    1.2166        .17390        .85579E-05   -.86093    
   4  Prefactor     .70253        .16924        .10611E-04   -1.0343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15577e-11
Minuit parameter uncertainties:
  1  109.658
  2  0.415824
  3  0.173985
  4  0.169361
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/727309': 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) = 7514.8632432
delta logL = 2.40895725724

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  1.402e+02  1.097e+02  1.000e-04  1.000e+04 ( 1.000e-14)
345        Index:  1.464e+00  4.158e-01  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:  7.025e-01  1.694e-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:  1.217e+00  1.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.02
Ra Dec: 237.332 63.178
Photon Index (Free Index): 1.46 +/- 0.42
Photon Flux (Free Index): 1.27e-08 +/- 1.19e-08
Energy Flux (Free Index): 4.54e-05 +/- 4.92e-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/727309/cmap_HighResolution_352080001_352339201_4FGL_J1549.3+6310_daily_bin435.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.48e-08', energy_flux2='4.54e-05', photon_flux_error='1.97e-08', dlogl='2.41e+00', energy_flux='7.70e-06', photon_flux2='1.27e-08', job_status='DONE', time_completed='2021-09-12 14:35:53.903182', photon_index_error2='0.42', photon_index2='1.46', ts='5.19', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='4.92e-05', EG='1.20', time_epoch_completed='1631482553.9', return_code='0', job_id='727309', GAL2='0.70', EG2='1.22', return_code2='0', energy_flux_error='6.12e-06', photon_flux_error2='1.19e-08', ts2='10.02', photon_index='2.44' WHERE bin_id='435' AND source_name='4FGL J1549.3+6310' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 14:35:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 727309: <4FGL_J1549.3+6310_daily_bin435> in cluster <slac> Done

Job <4FGL_J1549.3+6310_daily_bin435> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 14:20:17 2021
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 14:20:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 14:20:40 2021
Terminated at Sun Sep 12 14:35:54 2021
Results reported at Sun Sep 12 14:35:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.3+6310_daily_bin435 237.332 63.178 352080001 352339201 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 :                                   790.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             309.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            937 sec.

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

