/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 63 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 = 7702
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1754.2+3212_daily_bin1153
RA = 268.553, Dec = 32.2007
tmin = 538185601, tmax = 538444801
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='301059', job_status='RUN', time_executed='2021-09-18 22:16:35.701320', time_epoch_executed='1632028595.7' WHERE source_name='4FGL J1754.2+3212' and cadence='daily' and bin_id='1153'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/301059

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/301059/ft1_4FGL_J1754.2+3212_daily_bin1153.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/301059/ft2_4FGL_J1754.2+3212_daily_bin1153.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/301059/ft1_4FGL_J1754.2+3212_daily_bin1153.fits outfile=/scratch/kocevski/301059/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin1153.fits ra=268.553 dec=32.2007 rad=12.0 tmin=538185601.0 tmax=538444801.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 5.46
user 5.13
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/301059/ft1_filtered_4FGL_J1754.2+3212_daily_bin1153.fits" evtable="EVENTS" scfile=/scratch/kocevski/301059/ft2_4FGL_J1754.2+3212_daily_bin1153.fits sctable="SC_DATA" outfile=/scratch/kocevski/301059/ltcube_538185601_538444801_4FGL_J1754.2+3212_daily_bin1153.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/301059/ft2_4FGL_J1754.2+3212_daily_bin1153.fits
.....................!
real 11.90
user 11.59
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/301059/ft1_filtered_4FGL_J1754.2+3212_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/301059/ft2_4FGL_J1754.2+3212_daily_bin1153.fits sctable="SC_DATA" expcube=/scratch/kocevski/301059/ltcube_538185601_538444801_4FGL_J1754.2+3212_daily_bin1153.fits outfile=/scratch/kocevski/301059/expmap_538185601_538444801_4FGL_J1754.2+3212_daily_bin1153.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/301059/ltcube_538185601_538444801_4FGL_J1754.2+3212_daily_bin1153.fits
.....................!
real 191.10
user 185.49
sys 5.21

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/301059/ft1_filtered_4FGL_J1754.2+3212_daily_bin1153.fits scfile=/scratch/kocevski/301059/ft2_4FGL_J1754.2+3212_daily_bin1153.fits outfile=/scratch/kocevski/301059/cmap_538185601_538444801_4FGL_J1754.2+3212_daily_bin1153.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.59
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/301059/ft1_filtered_4FGL_J1754.2+3212_daily_bin1153.fits scfile=/scratch/kocevski/301059/ft2_4FGL_J1754.2+3212_daily_bin1153.fits outfile=/scratch/kocevski/301059/cmap_HighResolution_538185601_538444801_4FGL_J1754.2+3212_daily_bin1153.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/301059/ft1_filtered_4FGL_J1754.2+3212_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/301059/ft2_4FGL_J1754.2+3212_daily_bin1153.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/301059/Model_4FGL_J1754.2+3212_daily_bin1153.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/301059/ft1_filtered_4FGL_J1754.2+3212_daily_bin1153.fits.....................!
real 58.91
user 57.49
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    42.702       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.029       1.0000         .10000E-03   10000.    
     7 'Prefactor '    82.373       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11854E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21544E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1877       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.7668       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.340       1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.377       1.0000         .10000E-03   10000.    
    19 'norm      '    11.180       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10159E-03   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      '    .10034E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1229       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0295       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=   6577.467     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2877 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.3955        .22503E-07** at limit **
   2  Prefactor     .10000E-03    22.139       -.88967E-05** at limit **
   3  norm          42.701        10.965       -.34154E-06    .81439E-04
   4  Prefactor     .10000E-03    42.505       -.43546E-05** at limit **
   5  Prefactor     .10000E-03    82.037        .89702E-04** at limit **
   6  Prefactor     16.025        16.564       -.96904E-07   -.15971E-04
   7  Prefactor     82.309        64.069       -.51519E-04    .17165E-03
   8  Prefactor     .10000E-03    2.8126       -.12191E-06** at limit **
   9  Prefactor     .10001E-03    39.778       -.92312E-05** at limit **
  10  Prefactor     .10003E-03    133.73       -.10077E-03** at limit **
  11  Prefactor     1.1959        14.711       -.98357E-05   -.29652E-03
  12  norm          .10000E-03    .84313        .10280E-07** at limit **
  13  norm          .10000E-03    36.771       -.14139E-04** at limit **
  14  norm          .10000E-03    5.2721       -.22539E-06** at limit **
  15  Prefactor     5.7667        7.3365        .17670E-05   -.13093E-03
  16  norm          .10000E-03    3.5128        .67303E-07** at limit **
  17  Prefactor     12.340        6.5806        .21451E-05    .75881E-04
  18  Prefactor     16.375        21.685        .31792E-06    .39676E-04
  19  norm          11.190        33.151        .72514E-05   -.52566E-05
  20  Prefactor     .10000E-03    11.668       -.84030E-06** at limit **
  21  norm          .10000E-03    25.410        .20087E-04** at limit **
  22  norm          .10000E-03    2.3650       -.27263E-06** at limit **
  23  norm          .10000E-03    1.2150       -.25344E-06** at limit **
  24  Normalizat    1.1229        .25456        .53481E-05    .15445E-03
  25  Prefactor     1.0295        .11497        .11278E-06    .60942E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 42.701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0254
  Prefactor  = 82.3086
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.000100028
  Prefactor  = 1.19593
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.76668
  norm       = 0.0001
  Prefactor  = 12.3402
  Prefactor  = 16.3754
  norm       = 11.19
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.12291
  Prefactor  = 1.02948
 **********
 **   18 **HESSE 
 **********

 FCN=   6577.467     FROM HESSE     STATUS=OK           419 CALLS     3296 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.3981        .14594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    22.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          42.701        10.994        .61347E-04   -1.4400    
   4  Prefactor     .10000E-03    42.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    82.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.025        16.579        .10004E-03   -1.4907    
   7  Prefactor     82.309        63.478        .22128E-03   -1.3891    
   8  Prefactor     .10000E-03    2.8141        .13284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    39.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10003E-03    133.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1959        14.909        .41840E-03   -1.5489    
  12  norm          .10000E-03    .85172        .72717E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    36.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.2905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.7667        7.3259        .16725E-03   -1.5228    
  16  norm          .10000E-03    3.5163        .14845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.340        6.5744        .11403E-03   -1.5005    
  18  Prefactor     16.375        21.668        .98970E-04   -1.4898    
  19  norm          11.190        33.228        .11981E-03   -1.5039    
  20  Prefactor     .10000E-03    11.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    25.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.2044        .23041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    4.7646        .16465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1229        .29296        .37055E-03   -.89020    
  25  Prefactor     1.0295        .13231        .17610E-03   -.91753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7049e-09
Minuit parameter uncertainties:
  1  4.90882e-06
  2  1.38496e-05
  3  10.9947
  4  3.95683e-05
  5  4.39195e-05
  6  16.5834
  7  63.5298
  8  2.77977e-06
  9  0.00122348
  10  0.00387983
  11  8.44735
  12  7.63951e-07
  13  5.76413e-05
  14  1.19234e-05
  15  7.32705
  16  1.797e-06
  17  6.57475
  18  21.6788
  19  33.2829
  20  0.000138195
  21  6.81986e-06
  22  4.58171e-05
  23  8.63366e-05
  24  0.293385
  25  0.132347
Done.

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

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  1.000e-04  7.640e-07  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:  1.029e+00  1.323e-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.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 268.553 32.201
Photon Flux Upper Limit: 4.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.60e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/301059/likelihoodResults_538185601_538444801_4FGL_J1754.2+3212_daily_bin1153.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) = 6577.47229421
delta logL = -0.00541394230822

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6577.46688043
delta logL = -1.70250132214e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7380       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1228       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0296       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6577.467     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      226 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.0940        .73000E-03** at limit **
   2  alpha         1.5368        3.3368        .17550       -.55737E-07
   3  Normalizat    1.1229        .28144        .37055E-03    .15647E-05
   4  Prefactor     1.0295        .12970        .17610E-03    .17185E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.53683
  Normalizat = 1.12292
  Prefactor  = 1.02948
 **********
 **   18 **HESSE 
 **********

 FCN=   6577.467     FROM HESSE     STATUS=OK            25 CALLS      251 TOTAL
                     EDM=   .42E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .89132        .14600E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5368        2.8133        .35099E-01   -.39550    
   3  Normalizat    1.1229        .28163        .14822E-04   -.89019    
   4  Prefactor     1.0295        .12979        .35221E-04   -.91753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17651e-13
Minuit parameter uncertainties:
  1  1.7849e-07
  2  91.7176
  3  0.282007
  4  0.129826
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/301059': 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) = 6577.46687771
delta logL = 2.55334543908e-06

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  1.000e-04  1.785e-07  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  1.537e+00  9.172e+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:  1.029e+00  1.298e-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.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 268.553 32.201

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/301059/cmap_HighResolution_538185601_538444801_4FGL_J1754.2+3212_daily_bin1153.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.60e-05', job_status='DONE', photon_flux_upper_limit='4.08e-08', time_completed='2021-09-18 22:30:22.362672', job_id='301059', GAL2='1.03', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1632029422.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.55e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1153' AND source_name='4FGL J1754.2+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 22:30:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 301059: <4FGL_J1754.2+3212_daily_bin1153> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1754.2+3212_daily_bin1153 268.553 32.2007 538185601 538444801 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 :                                   822.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            905 sec.

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

