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


Performing analysis on: 4FGL_J1754.2+3212_daily_bin1257
RA = 268.553, Dec = 32.2007
tmin = 565142401, tmax = 565401601
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='301212', job_status='RUN', time_executed='2021-09-18 22:15:42.974208', time_epoch_executed='1632028542.97' WHERE source_name='4FGL J1754.2+3212' and cadence='daily' and bin_id='1257'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/301212

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/301212/ft1_4FGL_J1754.2+3212_daily_bin1257.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/301212/ft2_4FGL_J1754.2+3212_daily_bin1257.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/301212/ft1_4FGL_J1754.2+3212_daily_bin1257.fits outfile=/scratch/kocevski/301212/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin1257.fits ra=268.553 dec=32.2007 rad=12.0 tmin=565142401.0 tmax=565401601.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.56
user 3.30
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/301212/ft2_4FGL_J1754.2+3212_daily_bin1257.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/301212/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin1257.fits evtable="EVENTS" outfile="/scratch/kocevski/301212/ft1_filtered_4FGL_J1754.2+3212_daily_bin1257.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/301212/ft1_filtered_4FGL_J1754.2+3212_daily_bin1257.fits" evtable="EVENTS" scfile=/scratch/kocevski/301212/ft2_4FGL_J1754.2+3212_daily_bin1257.fits sctable="SC_DATA" outfile=/scratch/kocevski/301212/ltcube_565142401_565401601_4FGL_J1754.2+3212_daily_bin1257.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/301212/ft2_4FGL_J1754.2+3212_daily_bin1257.fits
.....................!
real 12.42
user 12.03
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/301212/ft1_filtered_4FGL_J1754.2+3212_daily_bin1257.fits evtable="EVENTS" scfile=/scratch/kocevski/301212/ft2_4FGL_J1754.2+3212_daily_bin1257.fits sctable="SC_DATA" expcube=/scratch/kocevski/301212/ltcube_565142401_565401601_4FGL_J1754.2+3212_daily_bin1257.fits outfile=/scratch/kocevski/301212/expmap_565142401_565401601_4FGL_J1754.2+3212_daily_bin1257.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/301212/ltcube_565142401_565401601_4FGL_J1754.2+3212_daily_bin1257.fits
.....................!
real 192.79
user 187.11
sys 5.35

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/301212/ft1_filtered_4FGL_J1754.2+3212_daily_bin1257.fits scfile=/scratch/kocevski/301212/ft2_4FGL_J1754.2+3212_daily_bin1257.fits outfile=/scratch/kocevski/301212/cmap_565142401_565401601_4FGL_J1754.2+3212_daily_bin1257.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/301212/ft1_filtered_4FGL_J1754.2+3212_daily_bin1257.fits scfile=/scratch/kocevski/301212/ft2_4FGL_J1754.2+3212_daily_bin1257.fits outfile=/scratch/kocevski/301212/cmap_HighResolution_565142401_565401601_4FGL_J1754.2+3212_daily_bin1257.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.2250       1.0000         .10000E-03   10000.    
     4 'Prefactor '    105.27       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10916E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    71.904       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.7904       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.7337       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .63088E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    4.7181       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.006       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2799       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.9780       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1356       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93526       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=   8534.290     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2878 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.4920        .31855E-07** at limit **
   2  Prefactor     .10000E-03    17.037       -.18067E-05** at limit **
   3  norm          2.2256        4.8078        .17646E-06   -.22037E-03
   4  Prefactor     105.26        73.612       -.51351E-05   -.10300E-03
   5  Prefactor     .10000E-03    24.241        .43960E-05** at limit **
   6  Prefactor     .10000E-03    2.8361        .42123E-07** at limit **
   7  Prefactor     .10000E-03    55.873       -.10632E-05** at limit **
   8  Prefactor     .10000E-03    4.8503        .49259E-08** at limit **
   9  Prefactor     .10000E-03    12.506        .26365E-05** at limit **
  10  Prefactor     71.887        59.076       -.10344E-04   -.21583E-03
  11  Prefactor     .10000E-03    2.9049        .50914E-07** at limit **
  12  norm          1.7905        1.5280        .43762E-07    .48764E-04
  13  norm          .10000E-03    15.010        .29001E-05** at limit **
  14  norm          3.7345        10.994       -.57721E-07   -.30566E-04
  15  Prefactor     .65744E-01    3.1110       -.38719E-06    .16755E-03
  16  norm          4.7180        7.1334        .92181E-07   -.46753E-04
  17  Prefactor     12.007        5.8848       -.95810E-07    .12629E-04
  18  Prefactor     .10000E-03    8.9088        .25191E-06** at limit **
  19  norm          .10000E-03    11.410       -.27308E-05** at limit **
  20  Prefactor     3.2799        4.0620        .16170E-05   -.22849E-02
  21  norm          .10000E-03    19.425       -.49593E-05** at limit **
  22  norm          .10000E-03    2.2171        .34202E-07** at limit **
  23  norm          2.9776        2.0986       -.14801E-06   -.10123E-03
  24  Normalizat    1.1354        .20615        .15647E-05   -.29845E-04
  25  Prefactor     .93530        .92326E-01   -.24267E-06    .13417E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.22559
  Prefactor  = 105.26
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 71.8871
  Prefactor  = 0.0001
  norm       = 1.79053
  norm       = 0.0001
  norm       = 3.73446
  Prefactor  = 0.0657444
  norm       = 4.71796
  Prefactor  = 12.0066
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.27993
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 2.97763
  Normalizat = 1.13545
  Prefactor  = 0.935303
 **********
 **   18 **HESSE 
 **********

 FCN=   8534.290     FROM HESSE     STATUS=OK           427 CALLS     3305 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.5272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2256        4.7483        .26490E-03   -1.5410    
   4  Prefactor     105.26        73.274        .39193E-04   -1.3652    
   5  Prefactor     .10000E-03    24.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.8380        .15194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    56.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.8802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     71.887        59.827        .23672E-03   -1.4010    
  11  Prefactor     .10000E-03    2.9190        .15376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7905        1.5340        .10268E-03   -1.5440    
  13  norm          .10000E-03    15.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.7345        11.008        .20897E-03   -1.5321    
  15  Prefactor     .65744E-01    3.2119        .52304E-01   -1.5657    
  16  norm          4.7180        7.1324        .18525E-03   -1.5274    
  17  Prefactor     12.007        5.8838        .11561E-03   -1.5015    
  18  Prefactor     .10000E-03    8.9272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    11.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.2799        7.1096        .11179E-02   -1.5346    
  21  norm          .10000E-03    19.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.2628        .26618E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.9776        2.0971        .10661E-03   -1.5363    
  24  Normalizat    1.1354        .24260        .33793E-03   -.88622    
  25  Prefactor     .93530        .10962        .16918E-03   -.94918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.20874e-09
Minuit parameter uncertainties:
  1  7.80168e-06
  2  6.83773e-05
  3  4.74909
  4  73.3369
  5  0.000221483
  6  1.36751e-06
  7  0.000123319
  8  1.78476e-06
  9  0.000162421
  10  59.8775
  11  3.96134e-06
  12  1.53406
  13  0.000114915
  14  11.0144
  15  0.918413
  16  7.13372
  17  5.8841
  18  1.43629e-05
  19  9.41398e-05
  20  7.11138
  21  0.000222676
  22  7.04701e-08
  23  2.09711
  24  0.242837
  25  0.109647
Done.

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

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  1.791e+00  1.534e+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.353e-01  1.096e-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.135e+00  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.71
Ra Dec: 268.553 32.201
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.75e-08 +/- 1.50e-08
Energy Flux (Fixed Index): 1.97e-05 +/- 1.69e-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) = 8534.27962467
delta logL = 0.0105923940773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8534.27955556
delta logL = 0.0106614990491

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7941       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6460       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1369       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93518       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=   8534.280     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      193 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7982        56.203        .78052E-02   -.63867E-05
   2  alpha         1.6475        3.0138        .44694        .12504E-04
   3  Normalizat    1.1369        .11644        .76310E-01    .26918E-04
   4  Prefactor     .93517        .43382E-01    .45452E-01    .14728E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.79819
  alpha      = 1.64751
  Normalizat = 1.13691
  Prefactor  = 0.935173
 **********
 **   18 **HESSE 
 **********

 FCN=   8534.280     FROM HESSE     STATUS=OK            33 CALLS      226 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7982        1.5621        .10438E-03   -1.5440    
   2  alpha         1.6475        .67558        .19858E-01   -.34798    
   3  Normalizat    1.1369        .23273        .33775E-03   -.88575    
   4  Prefactor     .93517        .10758        .16920E-03   -.94923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.83066e-12
Minuit parameter uncertainties:
  1  1.56213
  2  0.685244
  3  0.232937
  4  0.107605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/301212': 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) = 8534.27955003
delta logL = 0.0106670315818

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  1.798e+00  1.562e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  1.648e+00  6.852e-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.352e-01  1.076e-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.137e+00  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.73
Ra Dec: 268.553 32.201
Photon Index (Free Index): 1.65 +/- 0.69
Photon Flux (Free Index): 1.57e-08 +/- 1.78e-08
Energy Flux (Free Index): 2.23e-05 +/- 2.78e-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/301212/cmap_HighResolution_565142401_565401601_4FGL_J1754.2+3212_daily_bin1257.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.75e-08', energy_flux2='2.23e-05', photon_flux_error='1.50e-08', dlogl='1.07e-02', energy_flux='1.97e-05', photon_flux2='1.57e-08', job_status='DONE', time_completed='2021-09-18 22:29:52.275218', photon_index_error2='0.69', photon_index2='1.65', ts='5.71', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='2.78e-05', EG='1.14', time_epoch_completed='1632029392.28', return_code='0', job_id='301212', GAL2='0.94', EG2='1.14', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='1.78e-08', ts2='5.73', photon_index='1.75' WHERE bin_id='1257' AND source_name='4FGL J1754.2+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 22:29:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 301212: <4FGL_J1754.2+3212_daily_bin1257> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1754.2+3212_daily_bin1257 268.553 32.2007 565142401 565401601 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 :                                   843.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             352.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            865 sec.

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

