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


Performing analysis on: 4FGL_J1754.2+3212_daily_bin1086
RA = 268.553, Dec = 32.2007
tmin = 520819201, tmax = 521078401
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='299785', job_status='RUN', time_executed='2021-09-18 22:11:05.197433', time_epoch_executed='1632028265.2' WHERE source_name='4FGL J1754.2+3212' and cadence='daily' and bin_id='1086'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/299785

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/299785/ft1_4FGL_J1754.2+3212_daily_bin1086.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/299785/ft2_4FGL_J1754.2+3212_daily_bin1086.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/299785/ft1_4FGL_J1754.2+3212_daily_bin1086.fits outfile=/scratch/kocevski/299785/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin1086.fits ra=268.553 dec=32.2007 rad=12.0 tmin=520819201.0 tmax=521078401.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.50
user 3.24
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/299785/ft1_filtered_4FGL_J1754.2+3212_daily_bin1086.fits" evtable="EVENTS" scfile=/scratch/kocevski/299785/ft2_4FGL_J1754.2+3212_daily_bin1086.fits sctable="SC_DATA" outfile=/scratch/kocevski/299785/ltcube_520819201_521078401_4FGL_J1754.2+3212_daily_bin1086.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/299785/ft2_4FGL_J1754.2+3212_daily_bin1086.fits
.....................!
real 11.76
user 11.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/299785/ft1_filtered_4FGL_J1754.2+3212_daily_bin1086.fits evtable="EVENTS" scfile=/scratch/kocevski/299785/ft2_4FGL_J1754.2+3212_daily_bin1086.fits sctable="SC_DATA" expcube=/scratch/kocevski/299785/ltcube_520819201_521078401_4FGL_J1754.2+3212_daily_bin1086.fits outfile=/scratch/kocevski/299785/expmap_520819201_521078401_4FGL_J1754.2+3212_daily_bin1086.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/299785/ltcube_520819201_521078401_4FGL_J1754.2+3212_daily_bin1086.fits
.....................!
real 190.45
user 185.28
sys 4.79

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/299785/ft1_filtered_4FGL_J1754.2+3212_daily_bin1086.fits scfile=/scratch/kocevski/299785/ft2_4FGL_J1754.2+3212_daily_bin1086.fits outfile=/scratch/kocevski/299785/cmap_520819201_521078401_4FGL_J1754.2+3212_daily_bin1086.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/299785/ft1_filtered_4FGL_J1754.2+3212_daily_bin1086.fits scfile=/scratch/kocevski/299785/ft2_4FGL_J1754.2+3212_daily_bin1086.fits outfile=/scratch/kocevski/299785/cmap_HighResolution_520819201_521078401_4FGL_J1754.2+3212_daily_bin1086.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .26574       1.0000         .10000E-03   10000.    
     3 'norm      '    22.872       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.931       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .90915E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.425       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11726E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9341       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.701       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12853E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.472       1.0000         .10000E-03   10000.    
    12 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    50.737       1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10446E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.9122       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    26.542       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    52.142       1.0000         .10000E-03   10000.    
    22 'norm      '    9.4494       1.0000         .10000E-03   10000.    
    23 'norm      '    .10256E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.4585       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .73324       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8651.168     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     2487 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.9401       -.28888E-05** at limit **
   2  Prefactor     .10998E-03    6559.5        .78962E-04** at limit **
   3  norm          22.877        7.5767       -.89475E-05   -.66589E-03
   4  Prefactor     14.926        7.6120       -.80669E-06   -.17206E-02
   5  Prefactor     .10299E-03    500.71        .49755E-04** at limit **
   6  Prefactor     29.441        10.530        .17562E-05    .56700E-02
   7  Prefactor     .10000E-03    46.928        .12451E-04** at limit **
   8  Prefactor     4.9343        5.4638        .20031E-06    .46689E-04
   9  Prefactor     18.693        5.3378        .13276E-05   -.26925E-02
  10  Prefactor     .10000E-03    63.379        .16001E-04** at limit **
  11  Prefactor     10.472        8.7667       -.18843E-05   -.34800E-03
  12  norm          .10000E-03    .58528        .80712E-06** at limit **
  13  norm          50.675        8.2845        .57802E-06    .14198E-02
  14  norm          .10000E-03    3.1848        .11661E-07** at limit **
  15  Prefactor     .10000E-03    11.500        .22341E-06** at limit **
  16  norm          .10000E-03    3.3894        .10963E-05** at limit **
  17  Prefactor     4.9098        4.1843       -.14647E-05    .82609E-04
  18  Prefactor     .10000E-03    7.1143       -.44849E-06** at limit **
  19  norm          26.537        19.479       -.51728E-05    .20063E-02
  20  Prefactor     .10000E-03    4.6026       -.18541E-05** at limit **
  21  norm          52.130        5.9345        .39767E-06    .16652E-02
  22  norm          9.4426        4.2773       -.62250E-06    .67648E-04
  23  norm          .10000E-03    7.3406       -.25683E-05** at limit **
  24  Normalizat    1.4584        .24167       -.31605E-05    .98383E-04
  25  Prefactor     .73328        .10495        .23694E-05    .10253E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.00010998
  norm       = 22.8774
  Prefactor  = 14.9258
  Prefactor  = 0.000102992
  Prefactor  = 29.4413
  Prefactor  = 0.0001
  Prefactor  = 4.93427
  Prefactor  = 18.693
  Prefactor  = 0.0001
  Prefactor  = 10.472
  norm       = 0.0001
  norm       = 50.6755
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.90983
  Prefactor  = 0.0001
  norm       = 26.5373
  Prefactor  = 0.0001
  norm       = 52.1298
  norm       = 9.44257
  norm       = 0.0001
  Normalizat = 1.45841
  Prefactor  = 0.733277
 **********
 **   18 **HESSE 
 **********

 FCN=   8651.168     FROM HESSE     STATUS=OK           491 CALLS     2978 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.8422        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10998E-03    40.632        .16629       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.877        8.1140        .20939E-02   -1.4751    
   4  Prefactor     14.926        44.853        .25914E-02   -1.4935    
   5  Prefactor     .10299E-03    520.63        .91251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.441        22.717        .18465E-02   -1.4622    
   7  Prefactor     .10000E-03    46.814        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.9343        5.4635        .45266E-02   -1.5264    
   9  Prefactor     18.693        34.254        .23154E-02   -1.4843    
  10  Prefactor     .10000E-03    63.454        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.472        8.7763        .30954E-02   -1.5061    
  12  norm          .10000E-03    .58259        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          50.675        93.986        .14076E-02   -1.4283    
  14  norm          .10000E-03    3.1814        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.035        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.3682        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.9098        4.1900        .45369E-02   -1.5265    
  18  Prefactor     .10000E-03    7.1058        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          26.537        23.056        .19440E-02   -1.4677    
  20  Prefactor     .10000E-03    4.5738        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          52.130        45.531        .13886E-02   -1.4263    
  22  norm          9.4426        5.0155        .32592E-02   -1.5093    
  23  norm          .10000E-03    1.5377        .60769E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.4584        .20933        .71488E-01   -.78954    
  25  Prefactor     .73328        .89673E-01    .42842E-01   -1.0224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63802e-07
Minuit parameter uncertainties:
  1  2.5959e-05
  2  0.0403012
  3  8.11437
  4  44.9545
  5  0.079637
  6  22.7241
  7  0.000228878
  8  5.4641
  9  34.2899
  10  0.000331125
  11  8.77742
  12  4.57561e-07
  13  94.2629
  14  4.07438e-06
  15  2.90654e-05
  16  7.34008e-06
  17  4.19026
  18  2.15371e-06
  19  23.0634
  20  4.01954e-06
  21  45.5609
  22  5.01568
  23  5.25993e-06
  24  0.209457
  25  0.0896909
Done.

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

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  1.000e-04  4.576e-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:  7.333e-01  8.969e-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.458e+00  2.095e-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: 3.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/299785/likelihoodResults_520819201_521078401_4FGL_J1754.2+3212_daily_bin1086.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): 0
logL (Free Index) = 8651.1679086
delta logL = -1.62893302331e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8651.16789222
delta logL = 9.16861608857e-08

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 'alpha     '    1.7554       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4584       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73328       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=   8651.168     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      235 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .76170        .69353E-03** at limit **
   2  alpha         1.8953        3.3892        .17494       -.46659E-07
   3  Normalizat    1.4584        .23570        .31630E-03   -.15988E-03
   4  Prefactor     .73328        .10290        .18611E-03   -.27736E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.89528
  Normalizat = 1.45841
  Prefactor  = 0.733277
 **********
 **   18 **HESSE 
 **********

 FCN=   8651.168     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .59168        .13871E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8953        3.1626        .69978E-02   -.24431    
   3  Normalizat    1.4584        .23589        .12652E-04   -.78954    
   4  Prefactor     .73328        .10298        .37222E-04   -1.0224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14665e-11
Minuit parameter uncertainties:
  1  2.27652e-06
  2  111.579
  3  0.236064
  4  0.103006
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/299785': 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) = 8651.16789139
delta logL = 9.19630110729e-07

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  1.000e-04  2.277e-06  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  1.895e+00  1.116e+02  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:  7.333e-01  1.030e-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.458e+00  2.361e-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/299785/cmap_HighResolution_520819201_521078401_4FGL_J1754.2+3212_daily_bin1086.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.48e-05', job_status='DONE', photon_flux_upper_limit='3.08e-08', time_completed='2021-09-18 22:26:15.671466', job_id='299785', GAL2='0.73', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1632029175.67', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='9.20e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1086' AND source_name='4FGL J1754.2+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 22:26:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 299785: <4FGL_J1754.2+3212_daily_bin1086> in cluster <slac> Done

Job <4FGL_J1754.2+3212_daily_bin1086> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 18 22:10:44 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 22:10:45 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:10:45 2021
Terminated at Sat Sep 18 22:26:16 2021
Results reported at Sat Sep 18 22:26:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1754.2+3212_daily_bin1086 268.553 32.2007 520819201 521078401 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 :                                   903.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             311.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            932 sec.

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

