/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 8 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 = 7360
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1754.2+3212_daily_bin599
RA = 268.553, Dec = 32.2007
tmin = 394588801, tmax = 394848001
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='296802', job_status='RUN', time_executed='2021-09-18 22:00:51.561167', time_epoch_executed='1632027651.56' WHERE source_name='4FGL J1754.2+3212' and cadence='daily' and bin_id='599'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/296802

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/296802/ft1_4FGL_J1754.2+3212_daily_bin599.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/296802/ft2_4FGL_J1754.2+3212_daily_bin599.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/296802/ft1_4FGL_J1754.2+3212_daily_bin599.fits outfile=/scratch/kocevski/296802/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin599.fits ra=268.553 dec=32.2007 rad=12.0 tmin=394588801.0 tmax=394848001.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 4.53
user 4.30
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/296802/ft2_4FGL_J1754.2+3212_daily_bin599.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/296802/ft2_4FGL_J1754.2+3212_daily_bin599.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/296802/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin599.fits evtable="EVENTS" outfile="/scratch/kocevski/296802/ft1_filtered_4FGL_J1754.2+3212_daily_bin599.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.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/296802/ft1_filtered_4FGL_J1754.2+3212_daily_bin599.fits" evtable="EVENTS" scfile=/scratch/kocevski/296802/ft2_4FGL_J1754.2+3212_daily_bin599.fits sctable="SC_DATA" outfile=/scratch/kocevski/296802/ltcube_394588801_394848001_4FGL_J1754.2+3212_daily_bin599.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/296802/ft2_4FGL_J1754.2+3212_daily_bin599.fits
.....................!
real 11.89
user 11.51
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/296802/ft1_filtered_4FGL_J1754.2+3212_daily_bin599.fits evtable="EVENTS" scfile=/scratch/kocevski/296802/ft2_4FGL_J1754.2+3212_daily_bin599.fits sctable="SC_DATA" expcube=/scratch/kocevski/296802/ltcube_394588801_394848001_4FGL_J1754.2+3212_daily_bin599.fits outfile=/scratch/kocevski/296802/expmap_394588801_394848001_4FGL_J1754.2+3212_daily_bin599.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/296802/ltcube_394588801_394848001_4FGL_J1754.2+3212_daily_bin599.fits
.....................!
real 190.47
user 184.28
sys 5.31

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

Setting source of interest to:
4FGL J1754.2+3212 @ 268.553 32.2007

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/296802/ft1_filtered_4FGL_J1754.2+3212_daily_bin599.fits scfile=/scratch/kocevski/296802/ft2_4FGL_J1754.2+3212_daily_bin599.fits outfile=/scratch/kocevski/296802/cmap_394588801_394848001_4FGL_J1754.2+3212_daily_bin599.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=268.553 yref=32.2007 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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/296802/ft1_filtered_4FGL_J1754.2+3212_daily_bin599.fits scfile=/scratch/kocevski/296802/ft2_4FGL_J1754.2+3212_daily_bin599.fits outfile=/scratch/kocevski/296802/cmap_HighResolution_394588801_394848001_4FGL_J1754.2+3212_daily_bin599.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=268.553 yref=32.2007 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/296802/ft1_filtered_4FGL_J1754.2+3212_daily_bin599.fits evtable="EVENTS" scfile=/scratch/kocevski/296802/ft2_4FGL_J1754.2+3212_daily_bin599.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/296802/Model_4FGL_J1754.2+3212_daily_bin599.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/296802/ft1_filtered_4FGL_J1754.2+3212_daily_bin599.fits.....................!
real 76.37
user 74.94
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/296802/ft1_filtered_4FGL_J1754.2+3212_daily_bin599.fits', '/scratch/kocevski/296802/ft2_4FGL_J1754.2+3212_daily_bin599.fits', expMap='/scratch/kocevski/296802/expmap_394588801_394848001_4FGL_J1754.2+3212_daily_bin599.fits', expCube='/scratch/kocevski/296802/ltcube_394588801_394848001_4FGL_J1754.2+3212_daily_bin599.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/296802/Model_4FGL_J1754.2+3212_daily_bin599.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1754.2+3212'

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  1.314e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  1.748e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
350         beta:  1.054e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/296802/ft1_filtered_4FGL_J1754.2+3212_daily_bin599.fits
Spacecraft file(s): /scratch/kocevski/296802/ft2_4FGL_J1754.2+3212_daily_bin599.fits
Exposure map: /scratch/kocevski/296802/expmap_394588801_394848001_4FGL_J1754.2+3212_daily_bin599.fits
Exposure cube: /scratch/kocevski/296802/ltcube_394588801_394848001_4FGL_J1754.2+3212_daily_bin599.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/296802/Model_4FGL_J1754.2+3212_daily_bin599.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) = 9259.79142884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9356       1.0000         .10000E-03   10000.    
     2 'Prefactor '    65.697       1.0000         .10000E-03   10000.    
     3 'norm      '    .12649E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    93.945       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10713E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .69324E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    52.881       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10761E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.3608       1.0000         .10000E-03   10000.    
    13 'norm      '    29.347       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1967       1.0000         .10000E-03   10000.    
    16 'norm      '    .57441E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.5128       1.0000         .10000E-03   10000.    
    21 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10339E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    6.4175       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .97650       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9259.754     FROM MIGRAD    STATUS=CONVERGED    604 CALLS     2968 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9348        5.9721        .86681E-05   -.96415E-04
   2  Prefactor     65.688        41.996        .44986E-06   -.93547E-04
   3  norm          .10001E-03    4.7980        .41134E-05** at limit **
   4  Prefactor     94.054        72.102       -.72246E-05    .14360E-03
   5  Prefactor     .10000E-03    29.827       -.87633E-06** at limit **
   6  Prefactor     .10000E-03    7.0179        .20038E-06** at limit **
   7  Prefactor     .10006E-03    258.99        .72791E-05** at limit **
   8  Prefactor     .10000E-03    3.8755        .95689E-06** at limit **
   9  Prefactor     52.867        33.479       -.31954E-06   -.82554E-04
  10  Prefactor     .10000E-03    41.425        .23445E-06** at limit **
  11  Prefactor     .10000E-03    12.118       -.66286E-06** at limit **
  12  norm          3.3605        1.9590        .24977E-07   -.42345E-04
  13  norm          29.370        72.527       -.80901E-06    .27142E-04
  14  norm          .10000E-03    2.9022        .29258E-07** at limit **
  15  Prefactor     4.1955        5.2150        .44909E-06   -.52869E-04
  16  norm          .10886E-03    7.7028        .27090E-05** at limit **
  17  Prefactor     .10000E-03    3.8415       -.29043E-06** at limit **
  18  Prefactor     .10000E-03    33.931       -.72852E-07** at limit **
  19  norm          .10000E-03    22.863       -.17925E-06** at limit **
  20  Prefactor     5.5103        6.6555        .97248E-08   -.45234E-04
  21  norm          .10000E-03    22.691        .26321E-06** at limit **
  22  norm          .10000E-03    2.0618       -.84193E-08** at limit **
  23  norm          6.4169        2.7476        .91810E-08    .12823E-03
  24  Normalizat    .97641        .20858       -.47001E-05   -.35997E-03
  25  Prefactor     .97873        .92435E-01    .19230E-05   -.51634E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.93476
  Prefactor  = 65.6885
  norm       = 0.000100006
  Prefactor  = 94.0537
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010006
  Prefactor  = 0.000100001
  Prefactor  = 52.8667
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.36055
  norm       = 29.3704
  norm       = 0.0001
  Prefactor  = 4.19553
  norm       = 0.000108855
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 5.51033
  norm       = 0.0001
  norm       = 0.000100002
  norm       = 6.41687
  Normalizat = 0.976405
  Prefactor  = 0.978728
 **********
 **   18 **HESSE 
 **********

 FCN=   9259.754     FROM HESSE     STATUS=OK           437 CALLS     3405 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9348        6.0379        .14924E-02   -1.5430    
   2  Prefactor     65.688        42.018        .24757E-03   -1.4085    
   3  norm          .10001E-03    5.1182        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     94.054        73.335        .20732E-03   -1.3765    
   5  Prefactor     .10000E-03    29.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.0353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10006E-03    262.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.080        .36694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     52.867        33.499        .55155E-04   -1.4252    
  10  Prefactor     .10000E-03    41.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.3605        1.9574        .99471E-04   -1.5341    
  13  norm          29.370        72.419        .73957E-04   -1.4624    
  14  norm          .10000E-03    2.9056        .16009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1955        5.2037        .19672E-03   -1.5298    
  16  norm          .10886E-03    9.2130        .77816E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.9209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    34.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    23.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.5103        6.6491        .17112E-03   -1.5238    
  21  norm          .10000E-03    22.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    5.3296        .38989E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.4169        3.0083        .84184E-04   -1.5201    
  24  Normalizat    .97641        .24131        .36190E-03   -.93825    
  25  Prefactor     .97873        .10831        .16747E-03   -.93442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18875e-09
Minuit parameter uncertainties:
  1  6.03983
  2  42.0368
  3  0.000356063
  4  73.4058
  5  0.000141442
  6  2.8547e-05
  7  0.00795756
  8  0.000207863
  9  33.5112
  10  1.31606e-05
  11  8.17349e-05
  12  1.95743
  13  72.6374
  14  4.06673e-06
  15  5.20425
  16  0.0180677
  17  2.35858e-05
  18  0.000391223
  19  2.59578e-06
  20  6.64996
  21  4.59266e-05
  22  0.000202902
  23  3.00836
  24  0.241575
  25  0.108337
Done.

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

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  3.361e+00  1.957e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  1.748e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
350         beta:  1.054e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.787e-01  1.083e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  9.764e-01  2.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.78
Ra Dec: 268.553 32.201
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 3.29e-08 +/- 1.91e-08
Energy Flux (Fixed Index): 3.70e-05 +/- 2.16e-05

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) = 9259.73394096
delta logL = 0.0202251926403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9259.7336626
delta logL = 0.0205035427061

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3468       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8736       1.0000          .0000       5.0000    
     3 'Normalizat'    .97063       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97971       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9259.734     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      206 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3468        35.214        .55307E-02    .67018E-03
   2  alpha         1.8736        3.2513        .42916        .70623E-04
   3  Normalizat    .97064        .12979        .81966E-01   -.13030E-03
   4  Prefactor     .97970        .37440E-01    .46013E-01   -.40621E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.34678
  alpha      = 1.87365
  Normalizat = 0.970637
  Prefactor  = 0.979699
 **********
 **   18 **HESSE 
 **********

 FCN=   9259.734     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3468        1.9262        .96780E-04   -1.5342    
   2  alpha         1.8736        .62784        .15103E-01   -.25324    
   3  Normalizat    .97064        .22737        .36283E-03   -.94021    
   4  Prefactor     .97970        .10515        .16738E-03   -.93409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66238e-10
Minuit parameter uncertainties:
  1  1.92626
  2  0.635105
  3  0.227592
  4  0.10517
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/296802': 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) = 9259.7336626
delta logL = 0.0205035461186

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  3.347e+00  1.926e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  1.874e+00  6.351e-01  0.000e+00  5.000e+00 ( 1.000e+00)
350         beta:  1.054e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.797e-01  1.052e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  9.706e-01  2.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.82
Ra Dec: 268.553 32.201
Photon Index (Free Index): 1.87 +/- 0.64
Photon Flux (Free Index): 3.84e-08 +/- 3.62e-08
Energy Flux (Free Index): 3.31e-05 +/- 2.59e-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/296802/cmap_HighResolution_394588801_394848001_4FGL_J1754.2+3212_daily_bin599.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.29e-08', energy_flux2='3.31e-05', photon_flux_error='1.91e-08', dlogl='2.05e-02', energy_flux='3.70e-05', photon_flux2='3.84e-08', job_status='DONE', time_completed='2021-09-18 22:15:49.476709', photon_index_error2='0.64', photon_index2='1.87', ts='9.78', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.59e-05', EG='0.98', time_epoch_completed='1632028549.48', return_code='0', job_id='296802', GAL2='0.98', EG2='0.97', return_code2='0', energy_flux_error='2.16e-05', photon_flux_error2='3.62e-08', ts2='9.82', photon_index='1.75' WHERE bin_id='599' AND source_name='4FGL J1754.2+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 22:15:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 296802: <4FGL_J1754.2+3212_daily_bin599> in cluster <slac> Done

Job <4FGL_J1754.2+3212_daily_bin599> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 18 22:00:33 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 22:00:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 22:00:35 2021
Terminated at Sat Sep 18 22:15:50 2021
Results reported at Sat Sep 18 22:15:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1754.2+3212_daily_bin599 268.553 32.2007 394588801 394848001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1754.2+3212 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   893.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             343.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            917 sec.

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

