/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 7 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 = 7386
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1754.2+3212_daily_bin325
RA = 268.553, Dec = 32.2007
tmin = 323568001, tmax = 323827201
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='295346', job_status='RUN', time_executed='2021-09-18 21:55:49.526712', time_epoch_executed='1632027349.53' WHERE source_name='4FGL J1754.2+3212' and cadence='daily' and bin_id='325'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/295346

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/295346/ft1_4FGL_J1754.2+3212_daily_bin325.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/295346/ft2_4FGL_J1754.2+3212_daily_bin325.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/295346/ft1_4FGL_J1754.2+3212_daily_bin325.fits outfile=/scratch/kocevski/295346/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin325.fits ra=268.553 dec=32.2007 rad=12.0 tmin=323568001.0 tmax=323827201.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.30
user 3.07
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/295346/ft1_filtered_4FGL_J1754.2+3212_daily_bin325.fits" evtable="EVENTS" scfile=/scratch/kocevski/295346/ft2_4FGL_J1754.2+3212_daily_bin325.fits sctable="SC_DATA" outfile=/scratch/kocevski/295346/ltcube_323568001_323827201_4FGL_J1754.2+3212_daily_bin325.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/295346/ft2_4FGL_J1754.2+3212_daily_bin325.fits
.....................!
real 12.07
user 11.70
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/295346/ft1_filtered_4FGL_J1754.2+3212_daily_bin325.fits evtable="EVENTS" scfile=/scratch/kocevski/295346/ft2_4FGL_J1754.2+3212_daily_bin325.fits sctable="SC_DATA" expcube=/scratch/kocevski/295346/ltcube_323568001_323827201_4FGL_J1754.2+3212_daily_bin325.fits outfile=/scratch/kocevski/295346/expmap_323568001_323827201_4FGL_J1754.2+3212_daily_bin325.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/295346/ltcube_323568001_323827201_4FGL_J1754.2+3212_daily_bin325.fits
.....................!
real 195.08
user 189.95
sys 4.69

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/295346/ft1_filtered_4FGL_J1754.2+3212_daily_bin325.fits scfile=/scratch/kocevski/295346/ft2_4FGL_J1754.2+3212_daily_bin325.fits outfile=/scratch/kocevski/295346/cmap_323568001_323827201_4FGL_J1754.2+3212_daily_bin325.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/295346/ft1_filtered_4FGL_J1754.2+3212_daily_bin325.fits scfile=/scratch/kocevski/295346/ft2_4FGL_J1754.2+3212_daily_bin325.fits outfile=/scratch/kocevski/295346/cmap_HighResolution_323568001_323827201_4FGL_J1754.2+3212_daily_bin325.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10482E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.4680       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.003       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11298E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11352       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11300E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.0210       1.0000         .10000E-03   10000.    
    13 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10159E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3283       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10575E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.3273       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .11076E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.1372       1.0000         .10000E-03   10000.    
    23 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1913       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94289       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=   10060.64     FROM MIGRAD    STATUS=CONVERGED    590 CALLS     2521 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.9576        .85549E-07** at limit **
   2  Prefactor     .10000E-03    17.473        .67188E-05** at limit **
   3  norm          4.4605        4.2747        .17425E-05   -.30571E-03
   4  Prefactor     13.957        42.845       -.34518E-04   -.14655E-04
   5  Prefactor     .10000E-03    34.286        .54968E-05** at limit **
   6  Prefactor     .10000E-03    5.5758       -.46157E-06** at limit **
   7  Prefactor     .10000E-03    16.271        .42361E-05** at limit **
   8  Prefactor     .70307E-01    5.7050        .22821E-06    .22326E-04
   9  Prefactor     .10000E-03    9.5603        .21745E-05** at limit **
  10  Prefactor     .10000E-03    21.964       -.12508E-04** at limit **
  11  Prefactor     .10000E-03    6.3477        .76435E-05** at limit **
  12  norm          5.0203        2.0304       -.23294E-07    .73778E-04
  13  norm          .10000E-03    16.546        .50865E-05** at limit **
  14  norm          .10000E-03    14.828        .13692E-06** at limit **
  15  Prefactor     .10000E-03    2.6604        .77479E-08** at limit **
  16  norm          .10000E-03    6.5261       -.80895E-05** at limit **
  17  Prefactor     4.3269        4.4439        .96063E-06   -.32762E-03
  18  Prefactor     .10000E-03    13.731       -.44962E-05** at limit **
  19  norm          4.2943        48.195        .13589E-04   -.22502E-04
  20  Prefactor     .10000E-03    3.5137       -.10396E-06** at limit **
  21  norm          .10000E-03    13.629       -.46450E-05** at limit **
  22  norm          3.1351        2.3636       -.29569E-07   -.16308E-03
  23  norm          .10000E-03    1.2108       -.22573E-07** at limit **
  24  Normalizat    1.1905        .18994        .16483E-05   -.17463E-03
  25  Prefactor     .94329        .84942E-01   -.63711E-06    .10161E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.46054
  Prefactor  = 13.9566
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0703073
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.02034
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.32694
  Prefactor  = 0.0001
  norm       = 4.29432
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.13509
  norm       = 0.0001
  Normalizat = 1.19049
  Prefactor  = 0.943288
 **********
 **   18 **HESSE 
 **********

 FCN=   10060.64     FROM HESSE     STATUS=OK           427 CALLS     2948 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.9872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.4605        4.2527        .19049E-03   -1.5286    
   4  Prefactor     13.957        42.903        .10704E-03   -1.4961    
   5  Prefactor     .10000E-03    34.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.6044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .70307E-01    8.0105        .74932E-01   -1.5655    
   9  Prefactor     .10000E-03    9.5664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.5172        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.0203        2.0305        .88442E-04   -1.5260    
  13  norm          .10000E-03    16.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    15.262        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.6975        .15972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.6567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.3269        4.4301        .19362E-03   -1.5292    
  18  Prefactor     .10000E-03    13.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.2943        48.365        .19365E-03   -1.5293    
  20  Prefactor     .10000E-03    3.5442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    13.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.1351        2.3453        .12901E-03   -1.5354    
  23  norm          .10000E-03    1.2473        .21355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1905        .22526        .34048E-03   -.86897    
  25  Prefactor     .94329        .10092        .16928E-03   -.94644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.65996e-10
Minuit parameter uncertainties:
  1  2.1113e-05
  2  5.8048e-06
  3  4.25295
  4  42.9985
  5  6.46677e-06
  6  1.9747e-07
  7  5.47457e-06
  8  1.50007
  9  3.74424e-06
  10  5.24582e-06
  11  6.70265e-05
  12  2.03054
  13  1.25685e-06
  14  1.97733e-05
  15  4.02717e-06
  16  4.71119e-05
  17  4.43041
  18  1.19931e-05
  19  28.8524
  20  1.34973e-05
  21  2.53843e-06
  22  2.34532
  23  6.29455e-07
  24  0.225441
  25  0.100939
Done.

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

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  5.020e+00  2.031e+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.433e-01  1.009e-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.190e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.49
Ra Dec: 268.553 32.201
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 4.91e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 5.53e-05 +/- 2.24e-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) = 10060.6369436
delta logL = 0.00220466710743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10060.6368023
delta logL = 0.00234597717281

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0520       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7240       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94309       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=   10060.64     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      201 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0520        44.039        .44724E-02   -.26054E-03
   2  alpha         1.7240        3.1644        .31470        .36915E-05
   3  Normalizat    1.1915        .21904        .76897E-01   -.36235E-04
   4  Prefactor     .94309        .64861E-01    .45552E-01   -.84901E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.05204
  alpha      = 1.72405
  Normalizat = 1.19154
  Prefactor  = 0.943092
 **********
 **   18 **HESSE 
 **********

 FCN=   10060.64     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0520        2.1013        .88864E-04   -1.5258    
   2  alpha         1.7240        .34824        .12097E-01   -.31559    
   3  Normalizat    1.1915        .21970        .34035E-03   -.86865    
   4  Prefactor     .94309        .98994E-01    .16930E-03   -.94651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.84453e-12
Minuit parameter uncertainties:
  1  2.10137
  2  0.349493
  3  0.219871
  4  0.0990131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/295346': 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) = 10060.6368023
delta logL = 0.00234597720009

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  5.052e+00  2.101e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  1.724e+00  3.495e-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.431e-01  9.901e-02  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.192e+00  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.49
Ra Dec: 268.553 32.201
Photon Index (Free Index): 1.72 +/- 0.35
Photon Flux (Free Index): 4.80e-08 +/- 2.46e-08
Energy Flux (Free Index): 5.71e-05 +/- 3.60e-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/295346/cmap_HighResolution_323568001_323827201_4FGL_J1754.2+3212_daily_bin325.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.91e-08', energy_flux2='5.71e-05', photon_flux_error='1.98e-08', dlogl='2.35e-03', energy_flux='5.53e-05', photon_flux2='4.80e-08', job_status='DONE', time_completed='2021-09-18 22:10:24.139191', photon_index_error2='0.35', photon_index2='1.72', ts='19.49', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='3.60e-05', EG='1.19', time_epoch_completed='1632028224.14', return_code='0', job_id='295346', GAL2='0.94', EG2='1.19', return_code2='0', energy_flux_error='2.24e-05', photon_flux_error2='2.46e-08', ts2='19.49', photon_index='1.75' WHERE bin_id='325' AND source_name='4FGL J1754.2+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 22:10:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 295346: <4FGL_J1754.2+3212_daily_bin325> in cluster <slac> Done

Job <4FGL_J1754.2+3212_daily_bin325> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 18 21:55:32 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:55:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 21:55:34 2021
Terminated at Sat Sep 18 22:10:25 2021
Results reported at Sat Sep 18 22:10:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1754.2+3212_daily_bin325 268.553 32.2007 323568001 323827201 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 :                                   868.38 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             338.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            893 sec.

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

