/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 29 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1549.3+6310_daily_bin75
RA = 237.332, Dec = 63.178
tmin = 258768001, tmax = 259027201
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='724688', job_status='RUN', time_executed='2021-09-12 14:13:38.557349', time_epoch_executed='1631481218.56' WHERE source_name='4FGL J1549.3+6310' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724688

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724688/ft1_4FGL_J1549.3+6310_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724688/ft2_4FGL_J1549.3+6310_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724688/ft1_4FGL_J1549.3+6310_daily_bin75.fits outfile=/scratch/kocevski/724688/ft1_filteredMKT_4FGL_J1549.3+6310_daily_bin75.fits ra=237.332 dec=63.178 rad=12.0 tmin=258768001.0 tmax=259027201.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 1.14
user 0.94
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/724688/ft2_4FGL_J1549.3+6310_daily_bin75.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/724688/ft1_filteredMKT_4FGL_J1549.3+6310_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/724688/ft1_filtered_4FGL_J1549.3+6310_daily_bin75.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/724688/ft1_filtered_4FGL_J1549.3+6310_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/724688/ft2_4FGL_J1549.3+6310_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/724688/ltcube_258768001_259027201_4FGL_J1549.3+6310_daily_bin75.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/724688/ft2_4FGL_J1549.3+6310_daily_bin75.fits
.....................!
real 10.24
user 9.83
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724688/ft1_filtered_4FGL_J1549.3+6310_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/724688/ft2_4FGL_J1549.3+6310_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/724688/ltcube_258768001_259027201_4FGL_J1549.3+6310_daily_bin75.fits outfile=/scratch/kocevski/724688/expmap_258768001_259027201_4FGL_J1549.3+6310_daily_bin75.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/724688/ltcube_258768001_259027201_4FGL_J1549.3+6310_daily_bin75.fits
.....................!
real 192.76
user 186.72
sys 4.55

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/724688/ft1_filtered_4FGL_J1549.3+6310_daily_bin75.fits scfile=/scratch/kocevski/724688/ft2_4FGL_J1549.3+6310_daily_bin75.fits outfile=/scratch/kocevski/724688/cmap_258768001_259027201_4FGL_J1549.3+6310_daily_bin75.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724688/ft1_filtered_4FGL_J1549.3+6310_daily_bin75.fits scfile=/scratch/kocevski/724688/ft2_4FGL_J1549.3+6310_daily_bin75.fits outfile=/scratch/kocevski/724688/cmap_HighResolution_258768001_259027201_4FGL_J1549.3+6310_daily_bin75.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/724688/ft1_filtered_4FGL_J1549.3+6310_daily_bin75.fits', '/scratch/kocevski/724688/ft2_4FGL_J1549.3+6310_daily_bin75.fits', expMap='/scratch/kocevski/724688/expmap_258768001_259027201_4FGL_J1549.3+6310_daily_bin75.fits', expCube='/scratch/kocevski/724688/ltcube_258768001_259027201_4FGL_J1549.3+6310_daily_bin75.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/724688/Model_4FGL_J1549.3+6310_daily_bin75.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/724688/ft1_filtered_4FGL_J1549.3+6310_daily_bin75.fits
Spacecraft file(s): /scratch/kocevski/724688/ft2_4FGL_J1549.3+6310_daily_bin75.fits
Exposure map: /scratch/kocevski/724688/expmap_258768001_259027201_4FGL_J1549.3+6310_daily_bin75.fits
Exposure cube: /scratch/kocevski/724688/ltcube_258768001_259027201_4FGL_J1549.3+6310_daily_bin75.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/724688/Model_4FGL_J1549.3+6310_daily_bin75.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) = 4728.03599394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.192       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10939E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.067       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    15.544       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.828       1.0000         .10000E-03   10000.    
    13 'norm      '    11.050       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.552       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.4178       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.8941       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.6543       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.188       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    19.160       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .47194       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.4133       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=   4728.012     FROM MIGRAD    STATUS=CONVERGED    625 CALLS     3128 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.197        48.665        .25912E-06    .11314E-04
   2  Prefactor     .10000E-03    906.40       -.65441E-03** at limit **
   3  Prefactor     .10000E-03    12.414        .14721E-06** at limit **
   4  Prefactor     .10000E-03    11.331        .43109E-07** at limit **
   5  Prefactor     14.069        38.484       -.14161E-06    .16702E-04
   6  Prefactor     .10000E-03    4.1794       -.33192E-07** at limit **
   7  Prefactor     .10000E-03    1.8455        .71307E-07** at limit **
   8  Prefactor     .10000E-03    42.084       -.22162E-04** at limit **
   9  Prefactor     .10000E-03    24.641       -.65145E-06** at limit **
  10  norm          15.543        5.4374        .78068E-07    .25990E-03
  11  Prefactor     .10000E-03    127.45       -.36422E-04** at limit **
  12  Prefactor     21.829        16.680       -.16018E-05   -.53494E-05
  13  norm          11.050        14.790       -.35242E-05   -.39832E-04
  14  Prefactor     14.558        55.334        .24231E-05    .13692E-04
  15  Prefactor     .10000E-03    196.51        .18611E-03** at limit **
  16  Prefactor     9.4179        9.0630       -.34821E-05   -.80730E-04
  17  Prefactor     .10000E-03    61.833        .31376E-04** at limit **
  18  norm          1.8929        18.205        .65481E-06   -.24876E-03
  19  Prefactor     .10000E-03    8.6180       -.51212E-07** at limit **
  20  norm          4.6541        1.4175       -.16244E-06   -.15811E-02
  21  Prefactor     11.188        11.748        .87255E-06   -.18808E-03
  22  Prefactor     .10000E-03    35.162        .10197E-04** at limit **
  23  Prefactor     19.160        10.028        .11645E-05    .38726E-03
  24  Prefactor     .10000E-03    117.12       -.69871E-04** at limit **
  25  Normalizat    .47182        .21708        .40031E-05    .11484E-03
  26  Prefactor     1.4134        .21593       -.80296E-06    .16143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.1967
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0685
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.5432
  Prefactor  = 0.0001
  Prefactor  = 21.829
  norm       = 11.05
  Prefactor  = 14.5585
  Prefactor  = 0.0001
  Prefactor  = 9.41786
  Prefactor  = 0.0001
  norm       = 1.89292
  Prefactor  = 0.0001
  norm       = 4.65408
  Prefactor  = 11.1882
  Prefactor  = 0.0001
  Prefactor  = 19.1602
  Prefactor  = 0.0001
  Normalizat = 0.471815
  Prefactor  = 1.41338
 **********
 **   18 **HESSE 
 **********

 FCN=   4728.012     FROM HESSE     STATUS=OK           448 CALLS     3576 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.197        48.662        .59640E-04   -1.4362    
   2  Prefactor     .10000E-03    906.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.069        38.458        .10679E-03   -1.4958    
   6  Prefactor     .10000E-03    4.2026        .13728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.8468        .91221E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    42.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    24.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.543        5.4341        .90528E-04   -1.4919    
  11  Prefactor     .10000E-03    127.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.829        16.678        .85732E-04   -1.4773    
  13  norm          11.050        14.754        .12052E-03   -1.5043    
  14  Prefactor     14.558        55.141        .10499E-03   -1.4945    
  15  Prefactor     .10000E-03    196.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.4179        9.0532        .13059E-03   -1.5094    
  17  Prefactor     .10000E-03    61.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.8929        18.009        .30229E-03   -1.5433    
  19  Prefactor     .10000E-03    8.6332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.6541        1.4189        .41251E-04   -1.5276    
  21  Prefactor     11.188        11.687        .11978E-03   -1.5039    
  22  Prefactor     .10000E-03    35.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     19.160        10.018        .91501E-04   -1.4832    
  24  Prefactor     .10000E-03    117.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .47182        .24419        .34778E-03   -1.1374    
  26  Prefactor     1.4134        .24775        .21860E-03   -.79995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.50028e-10
Minuit parameter uncertainties:
  1  48.7048
  2  0.000137985
  3  2.97112e-06
  4  6.94416e-06
  5  38.5262
  6  3.07456e-06
  7  7.15486e-07
  8  1.61939e-05
  9  2.7346e-06
  10  5.4343
  11  4.28879e-05
  12  16.6814
  13  14.7589
  14  55.3347
  15  0.000473143
  16  9.05452
  17  0.000113907
  18  11.6816
  19  7.75511e-06
  20  1.41891
  21  11.6896
  22  0.000171682
  23  10.0185
  24  0.000303081
  25  0.244744
  26  0.24796
Done.

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

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  1.000e-04  4.289e-05  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:  1.413e+00  2.480e-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:  4.718e-01  2.447e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/724688/likelihoodResults_258768001_259027201_4FGL_J1549.3+6310_daily_bin75.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) = 4728.01212003
delta logL = -3.71725891455e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4728.01208285
delta logL = 2.9231159715e-09

Fit tolerance = 1e-08

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

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

 FCN=   4728.012     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      243 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    87.435        .90712E-02** at limit **
   2  Index         2.6499        5.5864        .50000        .30784E-06
   3  Normalizat    .47181        .39960E-02    .78527E-01    .31191E-04
   4  Prefactor     1.4134        .41715E-02    .49452E-01   -.20573E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.64989
  Normalizat = 0.471815
  Prefactor  = 1.41338
 **********
 **   18 **HESSE 
 **********

 FCN=   4728.012     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      276 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    507.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6499        5.3486        .50000       -.48932    
   3  Normalizat    .47181        .96726E-02    .34778E-03   -1.1374    
   4  Prefactor     1.4134        .10122E-01    .21860E-03   -.79995    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.47052e-10
Minuit parameter uncertainties:
  1  6.29256e-05
  2  361.215
  3  0.00967262
  4  0.0101215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724688': 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) = 4728.01208285
delta logL = 6.16091710981e-09

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  1.000e-04  6.293e-05  1.000e-04  1.000e+04 ( 1.000e-14)
345        Index:  2.650e+00  3.612e+02  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:  1.413e+00  1.012e-02  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:  4.718e-01  9.673e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/724688/cmap_HighResolution_258768001_259027201_4FGL_J1549.3+6310_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-03', job_status='DONE', photon_flux_upper_limit='8.82e-08', time_completed='2021-09-12 14:25:29.126099', job_id='724688', GAL2='1.41', fit_tolerance='1e-08', EG2='0.47', EG='0.47', time_epoch_completed='1631481929.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.41', dlogl='6.16e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='75' AND source_name='4FGL J1549.3+6310' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 14:25:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 724688: <4FGL_J1549.3+6310_daily_bin75> in cluster <slac> Done

Job <4FGL_J1549.3+6310_daily_bin75> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 14:10:56 2021
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 14:13:00 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:13:00 2021
Terminated at Sun Sep 12 14:25:29 2021
Results reported at Sun Sep 12 14:25:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.3+6310_daily_bin75 237.332 63.178 258768001 259027201 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 :                                   708.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            873 sec.

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

