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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin385
RA = 268.433, Dec = 28.7967
tmin = 339120001, tmax = 339379201
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='267478', job_status='RUN', time_executed='2021-09-18 20:25:36.216005', time_epoch_executed='1632021936.22' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='385'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/267478

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/267478/ft1_4FGL_J1753.7+2847_daily_bin385.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/267478/ft2_4FGL_J1753.7+2847_daily_bin385.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/267478/ft1_4FGL_J1753.7+2847_daily_bin385.fits outfile=/scratch/kocevski/267478/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin385.fits ra=268.433 dec=28.7967 rad=12.0 tmin=339120001.0 tmax=339379201.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 6.34
user 6.08
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/267478/ft2_4FGL_J1753.7+2847_daily_bin385.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/267478/ft2_4FGL_J1753.7+2847_daily_bin385.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/267478/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin385.fits evtable="EVENTS" outfile="/scratch/kocevski/267478/ft1_filtered_4FGL_J1753.7+2847_daily_bin385.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/267478/ft1_filtered_4FGL_J1753.7+2847_daily_bin385.fits" evtable="EVENTS" scfile=/scratch/kocevski/267478/ft2_4FGL_J1753.7+2847_daily_bin385.fits sctable="SC_DATA" outfile=/scratch/kocevski/267478/ltcube_339120001_339379201_4FGL_J1753.7+2847_daily_bin385.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/267478/ft2_4FGL_J1753.7+2847_daily_bin385.fits
.....................!
real 11.37
user 11.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/267478/ft1_filtered_4FGL_J1753.7+2847_daily_bin385.fits evtable="EVENTS" scfile=/scratch/kocevski/267478/ft2_4FGL_J1753.7+2847_daily_bin385.fits sctable="SC_DATA" expcube=/scratch/kocevski/267478/ltcube_339120001_339379201_4FGL_J1753.7+2847_daily_bin385.fits outfile=/scratch/kocevski/267478/expmap_339120001_339379201_4FGL_J1753.7+2847_daily_bin385.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/267478/ltcube_339120001_339379201_4FGL_J1753.7+2847_daily_bin385.fits
.....................!
real 190.07
user 185.26
sys 4.45

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 210 point sources and 0 extended sources

Setting source of interest to:
4FGL J1753.7+2847 @ 268.433 28.7967

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/267478/ft1_filtered_4FGL_J1753.7+2847_daily_bin385.fits scfile=/scratch/kocevski/267478/ft2_4FGL_J1753.7+2847_daily_bin385.fits outfile=/scratch/kocevski/267478/cmap_339120001_339379201_4FGL_J1753.7+2847_daily_bin385.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.433 yref=28.7967 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/267478/ft1_filtered_4FGL_J1753.7+2847_daily_bin385.fits scfile=/scratch/kocevski/267478/ft2_4FGL_J1753.7+2847_daily_bin385.fits outfile=/scratch/kocevski/267478/cmap_HighResolution_339120001_339379201_4FGL_J1753.7+2847_daily_bin385.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.433 yref=28.7967 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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/267478/ft1_filtered_4FGL_J1753.7+2847_daily_bin385.fits evtable="EVENTS" scfile=/scratch/kocevski/267478/ft2_4FGL_J1753.7+2847_daily_bin385.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/267478/Model_4FGL_J1753.7+2847_daily_bin385.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/267478/ft1_filtered_4FGL_J1753.7+2847_daily_bin385.fits.....................!
real 73.80
user 72.39
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/267478/ft1_filtered_4FGL_J1753.7+2847_daily_bin385.fits', '/scratch/kocevski/267478/ft2_4FGL_J1753.7+2847_daily_bin385.fits', expMap='/scratch/kocevski/267478/expmap_339120001_339379201_4FGL_J1753.7+2847_daily_bin385.fits', expCube='/scratch/kocevski/267478/ltcube_339120001_339379201_4FGL_J1753.7+2847_daily_bin385.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/267478/Model_4FGL_J1753.7+2847_daily_bin385.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1753.7+2847'

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  6.812e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/267478/ft1_filtered_4FGL_J1753.7+2847_daily_bin385.fits
Spacecraft file(s): /scratch/kocevski/267478/ft2_4FGL_J1753.7+2847_daily_bin385.fits
Exposure map: /scratch/kocevski/267478/expmap_339120001_339379201_4FGL_J1753.7+2847_daily_bin385.fits
Exposure cube: /scratch/kocevski/267478/ltcube_339120001_339379201_4FGL_J1753.7+2847_daily_bin385.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/267478/Model_4FGL_J1753.7+2847_daily_bin385.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) = 8571.95174314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.454       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .66702E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.312       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.2993       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.1643       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17789E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    2.6687       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.7017       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    22.924       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96047       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1040       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8571.936     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2335 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.374        47.435       -.10971E-05    .22966E-04
   2  Prefactor     .10000E-03    16.997       -.15682E-06** at limit **
   3  norm          .10001E-03    3.6557       -.23561E-06** at limit **
   4  norm          .10000E-03    21.362        .36885E-07** at limit **
   5  Prefactor     40.298        58.224        .54039E-05   -.48440E-05
   6  Prefactor     .10000E-03    60.713        .80863E-07** at limit **
   7  Prefactor     9.2959        17.279        .91245E-06   -.35837E-04
   8  Prefactor     .10000E-03    37.154       -.88798E-07** at limit **
   9  Prefactor     .10000E-03    19.232       -.54262E-06** at limit **
  10  Prefactor     5.1493        106.30        .80191E-06   -.77119E-05
  11  Prefactor     .10000E-03    117.70       -.74998E-05** at limit **
  12  norm          2.6686        1.6435       -.23532E-07    .81127E-04
  13  norm          .10000E-03    38.511       -.90735E-07** at limit **
  14  Prefactor     .10000E-03    2.2011       -.76275E-07** at limit **
  15  norm          6.7016        7.2072       -.12728E-06    .21397E-04
  16  Prefactor     .10000E-03    1.0802       -.85506E-08** at limit **
  17  Prefactor     .10000E-03    7.4041       -.13153E-07** at limit **
  18  norm          22.922        28.314       -.42054E-06    .14330E-05
  19  Prefactor     .10000E-03    2.1641        .28353E-07** at limit **
  20  norm          .10000E-03    30.803       -.21038E-06** at limit **
  21  Normalizat    .96045        .26467       -.55090E-05    .72601E-04
  22  Prefactor     1.1041        .10754        .22728E-05    .22906E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.3744
  Prefactor  = 0.0001
  norm       = 0.000100006
  norm       = 0.0001
  Prefactor  = 40.2981
  Prefactor  = 0.0001
  Prefactor  = 9.29594
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.14932
  Prefactor  = 0.000100001
  norm       = 2.66857
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.70159
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 22.9224
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.960445
  Prefactor  = 1.10407
 **********
 **   18 **HESSE 
 **********

 FCN=   8571.936     FROM HESSE     STATUS=OK           340 CALLS     2675 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.374        47.449        .90807E-04   -1.4827    
   2  Prefactor     .10000E-03    17.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10001E-03    11.819        .32563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    21.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     40.298        58.494        .63132E-04   -1.4437    
   6  Prefactor     .10000E-03    60.728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.2959        17.257        .13142E-03   -1.5098    
   8  Prefactor     .10000E-03    37.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.1493        106.32        .17690E-03   -1.5254    
  11  Prefactor     .10000E-03    113.57        .44818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.6686        1.6447        .90654E-04   -1.5381    
  13  norm          .10000E-03    38.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.2185        .13410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.7016        7.2069        .15500E-03   -1.5190    
  16  Prefactor     .10000E-03    1.0816        .93962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.4134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          22.922        28.310        .83659E-04   -1.4750    
  19  Prefactor     .10000E-03    2.1684        .13299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    30.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96045        .26370        .40494E-03   -.94368    
  22  Prefactor     1.1041        .10796        .15900E-03   -.89337    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7551e-10
Minuit parameter uncertainties:
  1  47.542
  2  1.27074e-05
  3  0.000545129
  4  5.37422e-06
  5  58.5778
  6  0.000100395
  7  17.2666
  8  3.67939e-06
  9  0.000104314
  10  46.8904
  11  0.000627636
  12  1.64469
  13  6.23302e-05
  14  9.07147e-06
  15  7.20785
  16  2.28423e-06
  17  1.37223e-05
  18  28.3268
  19  5.72471e-06
  20  9.49645e-06
  21  0.264054
  22  0.107978
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  5.149e+00  4.689e+01  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  1.104e+00  1.080e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  9.604e-01  2.641e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 268.433 28.797
Photon Flux Upper Limit: 9.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/267478/likelihoodResults_339120001_339379201_4FGL_J1753.7+2847_daily_bin385.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) = 8571.93378079
delta logL = 0.00211879661583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8571.93366876
delta logL = 0.00223082762568

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7230       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5744       1.0000          .0000       10.000    
     3 'Normalizat'    .95937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1041       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8571.934     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      257 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6681        403.49        .46288E-02   -.14173E-03
   2  Index         2.5932        .70052        .50000       -.44819E-04
   3  Normalizat    .95946        .14264E-01    .91471E-01    .10587E-03
   4  Prefactor     1.1042        .59838E-02    .37431E-01    .63542E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.66808
  Index      = 2.59316
  Normalizat = 0.959463
  Prefactor  = 1.1042
 **********
 **   18 **HESSE 
 **********

 FCN=   8571.934     FROM HESSE     STATUS=OK            31 CALLS      288 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6681        97.030        .18515E-03   -1.5276    
   2  Index         2.5932        2.8006        .60104E-02   -.50221    
   3  Normalizat    .95946        .25373        .40512E-03   -.94401    
   4  Prefactor     1.1042        .10648        .15899E-03   -.89332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27395e-09
Minuit parameter uncertainties:
  1  42.6437
  2  3.03819
  3  0.25405
  4  0.106498
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/267478': 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) = 8571.93364435
delta logL = 0.00225523738118

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  4.668e+00  4.264e+01  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.593e+00  3.038e+00  0.000e+00  1.000e+01 (-1.000e+00)
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  1.104e+00  1.065e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  9.595e-01  2.540e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 268.433 28.797

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/267478/cmap_HighResolution_339120001_339379201_4FGL_J1753.7+2847_daily_bin385.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.04e-03', job_status='DONE', photon_flux_upper_limit='9.11e-08', time_completed='2021-09-18 20:40:20.469868', job_id='267478', GAL2='1.10', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632022820.47', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.26e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='385' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 20:40:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 267478: <4FGL_J1753.7+2847_daily_bin385> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin385> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep 18 20:25:22 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 20:25:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 20:25:24 2021
Terminated at Sat Sep 18 20:40:21 2021
Results reported at Sat Sep 18 20:40:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin385 268.433 28.7967 339120001 339379201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1753.7+2847 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   878.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            899 sec.

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

