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


Performing analysis on: 4FGL_J1754.2+3212_daily_bin547
RA = 268.553, Dec = 32.2007
tmin = 381110401, tmax = 381369601
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='296726', job_status='RUN', time_executed='2021-09-18 22:00:38.962900', time_epoch_executed='1632027638.96' WHERE source_name='4FGL J1754.2+3212' and cadence='daily' and bin_id='547'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/296726

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/296726/ft1_4FGL_J1754.2+3212_daily_bin547.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/296726/ft2_4FGL_J1754.2+3212_daily_bin547.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/296726/ft1_4FGL_J1754.2+3212_daily_bin547.fits outfile=/scratch/kocevski/296726/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin547.fits ra=268.553 dec=32.2007 rad=12.0 tmin=381110401.0 tmax=381369601.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.67
user 4.44
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/296726/ft2_4FGL_J1754.2+3212_daily_bin547.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/296726/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin547.fits evtable="EVENTS" outfile="/scratch/kocevski/296726/ft1_filtered_4FGL_J1754.2+3212_daily_bin547.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.51
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/296726/ft1_filtered_4FGL_J1754.2+3212_daily_bin547.fits evtable="EVENTS" scfile=/scratch/kocevski/296726/ft2_4FGL_J1754.2+3212_daily_bin547.fits sctable="SC_DATA" expcube=/scratch/kocevski/296726/ltcube_381110401_381369601_4FGL_J1754.2+3212_daily_bin547.fits outfile=/scratch/kocevski/296726/expmap_381110401_381369601_4FGL_J1754.2+3212_daily_bin547.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/296726/ltcube_381110401_381369601_4FGL_J1754.2+3212_daily_bin547.fits
.....................!
real 191.41
user 185.97
sys 5.12

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/296726/ft1_filtered_4FGL_J1754.2+3212_daily_bin547.fits scfile=/scratch/kocevski/296726/ft2_4FGL_J1754.2+3212_daily_bin547.fits outfile=/scratch/kocevski/296726/cmap_381110401_381369601_4FGL_J1754.2+3212_daily_bin547.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/296726/ft1_filtered_4FGL_J1754.2+3212_daily_bin547.fits scfile=/scratch/kocevski/296726/ft2_4FGL_J1754.2+3212_daily_bin547.fits outfile=/scratch/kocevski/296726/cmap_HighResolution_381110401_381369601_4FGL_J1754.2+3212_daily_bin547.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/296726/ft1_filtered_4FGL_J1754.2+3212_daily_bin547.fits', '/scratch/kocevski/296726/ft2_4FGL_J1754.2+3212_daily_bin547.fits', expMap='/scratch/kocevski/296726/expmap_381110401_381369601_4FGL_J1754.2+3212_daily_bin547.fits', expCube='/scratch/kocevski/296726/ltcube_381110401_381369601_4FGL_J1754.2+3212_daily_bin547.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/296726/Model_4FGL_J1754.2+3212_daily_bin547.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/296726/ft1_filtered_4FGL_J1754.2+3212_daily_bin547.fits
Spacecraft file(s): /scratch/kocevski/296726/ft2_4FGL_J1754.2+3212_daily_bin547.fits
Exposure map: /scratch/kocevski/296726/expmap_381110401_381369601_4FGL_J1754.2+3212_daily_bin547.fits
Exposure cube: /scratch/kocevski/296726/ltcube_381110401_381369601_4FGL_J1754.2+3212_daily_bin547.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/296726/Model_4FGL_J1754.2+3212_daily_bin547.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) = 9372.80788057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10145E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.797       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.880       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.9063       1.0000         .10000E-03   10000.    
    13 'norm      '    .14644E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1889       1.0000         .10000E-03   10000.    
    16 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.6785       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.0074       1.0000         .10000E-03   10000.    
    19 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .22252       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.1270       1.0000         .10000E-03   10000.    
    23 'norm      '    .10446E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1600       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96064       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=   9372.803     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     2904 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.3445        .11644E-06** at limit **
   2  Prefactor     .10000E-03    10.230       -.54852E-07** at limit **
   3  norm          .10000E-03    2.3546        .24740E-06** at limit **
   4  Prefactor     29.782        49.060       -.13843E-04   -.46837E-05
   5  Prefactor     .10000E-03    117.32        .66007E-04** at limit **
   6  Prefactor     .10000E-03    14.666        .34276E-05** at limit **
   7  Prefactor     .10000E-03    18.085       -.12977E-04** at limit **
   8  Prefactor     15.881        10.363        .88811E-07   -.83020E-05
   9  Prefactor     .10000E-03    53.152        .23771E-05** at limit **
  10  Prefactor     .10000E-03    22.639        .20487E-04** at limit **
  11  Prefactor     .10000E-03    3.4176       -.34830E-07** at limit **
  12  norm          2.9054        1.9076       -.65021E-07   -.20750E-04
  13  norm          .10000E-03    157.92       -.89541E-04** at limit **
  14  norm          .10000E-03    6.7884       -.39246E-07** at limit **
  15  Prefactor     4.1873        4.3378       -.51966E-07   -.46932E-04
  16  norm          .10000E-03    2.2663       -.23978E-07** at limit **
  17  Prefactor     8.6774        5.4891        .29840E-05   -.47134E-04
  18  Prefactor     9.0007        20.240        .91747E-06   -.33367E-04
  19  norm          .10000E-03    30.238       -.81158E-05** at limit **
  20  Prefactor     .22527        4.7130       -.10629E-05   -.12444E-03
  21  norm          .10000E-03    30.316       -.75184E-05** at limit **
  22  norm          3.1237        3.9339       -.23657E-06   -.75920E-03
  23  norm          .10000E-03    1.2676        .16897E-06** at limit **
  24  Normalizat    1.1599        .19494        .21028E-06    .25298E-04
  25  Prefactor     .96060        .90361E-01   -.13786E-06    .29408E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.7824
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.881
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.90543
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 4.18727
  norm       = 0.0001
  Prefactor  = 8.67738
  Prefactor  = 9.00069
  norm       = 0.0001
  Prefactor  = 0.225275
  norm       = 0.0001
  norm       = 3.12369
  norm       = 0.0001
  Normalizat = 1.15994
  Prefactor  = 0.960597
 **********
 **   18 **HESSE 
 **********

 FCN=   9372.803     FROM HESSE     STATUS=OK           423 CALLS     3327 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.3631        .17288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.3746        .14489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     29.782        49.175        .73398E-04   -1.4616    
   5  Prefactor     .10000E-03    117.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.881        10.365        .10051E-03   -1.4911    
   9  Prefactor     .10000E-03    53.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.4340        .17477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.9054        1.9047        .10522E-03   -1.5367    
  13  norm          .10000E-03    158.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.8233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1873        4.3348        .19691E-03   -1.5299    
  16  norm          .10000E-03    2.2684        .14230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.6774        5.4704        .13607E-03   -1.5119    
  18  Prefactor     9.0007        20.177        .13355E-03   -1.5108    
  19  norm          .10000E-03    30.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22527        44.253        .39189E-02   -1.5613    
  21  norm          .10000E-03    30.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.1237        3.3014        .17187E-03   -1.5354    
  23  norm          .10000E-03    4.6992        .17458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1599        .23116        .33627E-03   -.87850    
  25  Prefactor     .96060        .10811        .16949E-03   -.94055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.53618e-08
Minuit parameter uncertainties:
  1  1.74719e-05
  2  1.00842e-05
  3  3.84133e-05
  4  49.242
  5  0.000170778
  6  3.45471e-06
  7  3.57081e-06
  8  10.3665
  9  0.000180829
  10  1.82085e-05
  11  1.06951e-06
  12  1.90475
  13  0.000931365
  14  5.78545e-06
  15  4.33516
  16  4.36048e-06
  17  5.47076
  18  20.1922
  19  1.43692e-05
  20  6.31808
  21  1.81116e-05
  22  3.30162
  23  4.02861e-05
  24  0.231364
  25  0.108138
Done.

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

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  2.905e+00  1.905e+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.606e-01  1.081e-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:  1.160e+00  2.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.32
Ra Dec: 268.553 32.201
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.84e-08 +/- 1.86e-08
Energy Flux (Fixed Index): 3.20e-05 +/- 2.10e-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) = 9372.10104888
delta logL = 0.702244640799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9372.0975156
delta logL = 0.705777916053

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1439       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4397       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96795       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=   9372.098     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      250 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1430        21.357        .70367E-02    .39854E-03
   2  alpha         2.4395        3.7195        .24543        .95182E-04
   3  Normalizat    1.1230        .99134E-01    .77025E-01    .38160E-04
   4  Prefactor     .96814        .34489E-01    .45865E-01    .26566E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.14297
  alpha      = 2.43954
  Normalizat = 1.12305
  Prefactor  = 0.968141
 **********
 **   18 **HESSE 
 **********

 FCN=   9372.098     FROM HESSE     STATUS=OK            31 CALLS      281 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1430        1.9132        .76653E-04   -1.5415    
   2  alpha         2.4395        .65344        .12576E-01   -.24187E-01
   3  Normalizat    1.1230        .23068        .34092E-03   -.89015    
   4  Prefactor     .96814        .10584        .16882E-03   -.93799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93557e-11
Minuit parameter uncertainties:
  1  1.91329
  2  0.661122
  3  0.230885
  4  0.105865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/296726': 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) = 9372.09751115
delta logL = 0.705782375459

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  2.143e+00  1.913e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  2.440e+00  6.611e-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.681e-01  1.059e-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:  1.123e+00  2.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.73
Ra Dec: 268.553 32.201
Photon Index (Free Index): 2.44 +/- 0.66
Photon Flux (Free Index): 6.11e-08 +/- 4.60e-08
Energy Flux (Free Index): 2.18e-05 +/- 1.32e-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/296726/cmap_HighResolution_381110401_381369601_4FGL_J1754.2+3212_daily_bin547.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.84e-08', energy_flux2='2.18e-05', photon_flux_error='1.86e-08', dlogl='7.06e-01', energy_flux='3.20e-05', photon_flux2='6.11e-08', job_status='DONE', time_completed='2021-09-18 22:15:54.045966', photon_index_error2='0.66', photon_index2='2.44', ts='5.32', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='1.16', time_epoch_completed='1632028554.05', return_code='0', job_id='296726', GAL2='0.97', EG2='1.12', return_code2='0', energy_flux_error='2.10e-05', photon_flux_error2='4.60e-08', ts2='6.73', photon_index='1.75' WHERE bin_id='547' AND source_name='4FGL J1754.2+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 22:15:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 296726: <4FGL_J1754.2+3212_daily_bin547> in cluster <slac> Done

Job <4FGL_J1754.2+3212_daily_bin547> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 18 22:00:27 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 22:00:29 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:29 2021
Terminated at Sat Sep 18 22:15:54 2021
Results reported at Sat Sep 18 22:15:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1754.2+3212_daily_bin547 268.553 32.2007 381110401 381369601 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 :                                   911.42 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             343.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            927 sec.

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

