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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin148
RA = 268.433, Dec = 28.7967
tmin = 277689601, tmax = 277948801
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='263524', job_status='RUN', time_executed='2021-09-18 20:10:29.076448', time_epoch_executed='1632021029.08' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='148'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/263524

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/263524/ft1_4FGL_J1753.7+2847_daily_bin148.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/263524/ft2_4FGL_J1753.7+2847_daily_bin148.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/263524/ft1_4FGL_J1753.7+2847_daily_bin148.fits outfile=/scratch/kocevski/263524/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin148.fits ra=268.433 dec=28.7967 rad=12.0 tmin=277689601.0 tmax=277948801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.56
user 3.31
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/263524/ft2_4FGL_J1753.7+2847_daily_bin148.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/263524/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin148.fits evtable="EVENTS" outfile="/scratch/kocevski/263524/ft1_filtered_4FGL_J1753.7+2847_daily_bin148.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.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/263524/ft1_filtered_4FGL_J1753.7+2847_daily_bin148.fits" evtable="EVENTS" scfile=/scratch/kocevski/263524/ft2_4FGL_J1753.7+2847_daily_bin148.fits sctable="SC_DATA" outfile=/scratch/kocevski/263524/ltcube_277689601_277948801_4FGL_J1753.7+2847_daily_bin148.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/263524/ft2_4FGL_J1753.7+2847_daily_bin148.fits
.....................!
real 12.74
user 12.41
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/263524/ft1_filtered_4FGL_J1753.7+2847_daily_bin148.fits evtable="EVENTS" scfile=/scratch/kocevski/263524/ft2_4FGL_J1753.7+2847_daily_bin148.fits sctable="SC_DATA" expcube=/scratch/kocevski/263524/ltcube_277689601_277948801_4FGL_J1753.7+2847_daily_bin148.fits outfile=/scratch/kocevski/263524/expmap_277689601_277948801_4FGL_J1753.7+2847_daily_bin148.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/263524/ltcube_277689601_277948801_4FGL_J1753.7+2847_daily_bin148.fits
.....................!
real 190.42
user 185.04
sys 4.84

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/263524/ft1_filtered_4FGL_J1753.7+2847_daily_bin148.fits scfile=/scratch/kocevski/263524/ft2_4FGL_J1753.7+2847_daily_bin148.fits outfile=/scratch/kocevski/263524/cmap_277689601_277948801_4FGL_J1753.7+2847_daily_bin148.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/263524/ft1_filtered_4FGL_J1753.7+2847_daily_bin148.fits scfile=/scratch/kocevski/263524/ft2_4FGL_J1753.7+2847_daily_bin148.fits outfile=/scratch/kocevski/263524/cmap_HighResolution_277689601_277948801_4FGL_J1753.7+2847_daily_bin148.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/263524/ft1_filtered_4FGL_J1753.7+2847_daily_bin148.fits evtable="EVENTS" scfile=/scratch/kocevski/263524/ft2_4FGL_J1753.7+2847_daily_bin148.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/263524/Model_4FGL_J1753.7+2847_daily_bin148.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/263524/ft1_filtered_4FGL_J1753.7+2847_daily_bin148.fits.....................!
real 86.70
user 85.22
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/263524/ft1_filtered_4FGL_J1753.7+2847_daily_bin148.fits', '/scratch/kocevski/263524/ft2_4FGL_J1753.7+2847_daily_bin148.fits', expMap='/scratch/kocevski/263524/expmap_277689601_277948801_4FGL_J1753.7+2847_daily_bin148.fits', expCube='/scratch/kocevski/263524/ltcube_277689601_277948801_4FGL_J1753.7+2847_daily_bin148.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/263524/Model_4FGL_J1753.7+2847_daily_bin148.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/263524/ft1_filtered_4FGL_J1753.7+2847_daily_bin148.fits
Spacecraft file(s): /scratch/kocevski/263524/ft2_4FGL_J1753.7+2847_daily_bin148.fits
Exposure map: /scratch/kocevski/263524/expmap_277689601_277948801_4FGL_J1753.7+2847_daily_bin148.fits
Exposure cube: /scratch/kocevski/263524/ltcube_277689601_277948801_4FGL_J1753.7+2847_daily_bin148.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/263524/Model_4FGL_J1753.7+2847_daily_bin148.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) = 10319.018448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.2065       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    104.17       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.964       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11919E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.7123       1.0000         .10000E-03   10000.    
    15 'norm      '    8.1782       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.9884       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.224       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94310       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0123       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=   10319.02     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2354 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.802        .12003E-04** at limit **
   2  Prefactor     .10000E-03    16.685       -.12335E-04** at limit **
   3  norm          2.2061        2.7101        .69468E-07    .72236E-04
   4  norm          .10000E-03    37.411       -.15793E-04** at limit **
   5  Prefactor     104.17        77.702       -.47324E-06    .66069E-05
   6  Prefactor     .10000E-03    56.918        .27253E-04** at limit **
   7  Prefactor     17.962        14.607       -.11547E-07   -.10720E-04
   8  Prefactor     .10000E-03    85.661       -.37846E-04** at limit **
   9  Prefactor     .10000E-03    74.209        .35132E-05** at limit **
  10  Prefactor     .10000E-03    49.361        .15813E-04** at limit **
  11  Prefactor     .10000E-03    4.2460       -.20373E-06** at limit **
  12  norm          .10000E-03    .60912       -.22020E-07** at limit **
  13  norm          .10000E-03    29.481       -.13849E-04** at limit **
  14  Prefactor     9.7124        6.9042        .50663E-06   -.10030E-03
  15  norm          8.1787        7.7530       -.59146E-07   -.77576E-04
  16  Prefactor     1.9894        5.0842       -.14295E-05   -.10721E-02
  17  Prefactor     .10000E-03    14.023        .49409E-05** at limit **
  18  norm          .10000E-03    11.382       -.13785E-06** at limit **
  19  Prefactor     15.227        9.8597       -.51773E-07   -.75466E-04
  20  norm          .10000E-03    19.360        .61063E-05** at limit **
  21  Normalizat    .94316        .21245       -.43812E-06   -.23316E-04
  22  Prefactor     1.0122        .83182E-01   -.10424E-06    .42345E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.20614
  norm       = 0.0001
  Prefactor  = 104.169
  Prefactor  = 0.0001
  Prefactor  = 17.9622
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 9.71245
  norm       = 8.17873
  Prefactor  = 1.98943
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.2266
  norm       = 0.0001
  Normalizat = 0.943159
  Prefactor  = 1.01224
 **********
 **   18 **HESSE 
 **********

 FCN=   10319.02     FROM HESSE     STATUS=OK           336 CALLS     2690 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2061        2.7012        .17891E-03   -1.5411    
   4  norm          .10000E-03    37.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     104.17        77.882        .39398E-04   -1.3663    
   6  Prefactor     .10000E-03    56.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.962        14.650        .94497E-04   -1.4860    
   8  Prefactor     .10000E-03    85.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    74.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    49.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.2691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .62250        .77398E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    29.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.7124        6.9006        .12858E-03   -1.5085    
  15  norm          8.1787        7.7486        .14019E-03   -1.5136    
  16  Prefactor     1.9894        5.1269        .29384E-03   -1.5426    
  17  Prefactor     .10000E-03    14.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    11.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.227        9.8618        .10265E-03   -1.4927    
  20  norm          .10000E-03    19.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .94316        .24656        .40901E-03   -.94960    
  22  Prefactor     1.0122        .97193E-01    .15924E-03   -.92323    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50982e-09
Minuit parameter uncertainties:
  1  8.28229e-06
  2  5.96489e-06
  3  2.70133
  4  1.12022e-05
  5  77.9586
  6  7.77674e-07
  7  14.6528
  8  0.000449905
  9  7.11015e-05
  10  1.84952e-05
  11  5.79857e-06
  12  5.22959e-07
  13  5.23083e-06
  14  6.90115
  15  7.74953
  16  5.12801
  17  3.48136e-05
  18  2.86644e-06
  19  9.86288
  20  3.60787e-07
  21  0.246853
  22  0.0972099
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  1.850e-05  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.012e+00  9.721e-02  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.432e-01  2.469e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/263524/likelihoodResults_277689601_277948801_4FGL_J1753.7+2847_daily_bin148.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) = 10319.0164522
delta logL = -9.63965703704e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10319.0163559
delta logL = -1.37806637213e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3369       1.0000          .0000       10.000    
     3 'Normalizat'    .94317       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0122       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=   10319.02     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      234 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6865.4        .90712E-02** at limit **
   2  Index         2.3372        7.7068        .50000       -.77443E-07
   3  Normalizat    .94316        .56665E-01    .92344E-01    .53411E-03
   4  Prefactor     1.0122        .22899E-01    .43018E-01    .95564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.3372
  Normalizat = 0.943163
  Prefactor  = 1.01224
 **********
 **   18 **HESSE 
 **********

 FCN=   10319.02     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      265 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8448.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3372        5.8581        .50000       -.56162    
   3  Normalizat    .94316        .11699        .40901E-03   -.94960    
   4  Prefactor     1.0122        .47418E-01    .15924E-03   -.92323    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.67289e-09
Minuit parameter uncertainties:
  1  0.00804238
  2  59.5827
  3  0.117022
  4  0.0474199
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/263524': 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): 102
logL (Free Index) = 10319.0163559
delta logL = -1.58252078108e-09

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  8.042e-03  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.337e+00  5.958e+01  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.012e+00  4.742e-02  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.432e-01  1.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/263524/cmap_HighResolution_277689601_277948801_4FGL_J1753.7+2847_daily_bin148.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-03', job_status='DONE', photon_flux_upper_limit='8.18e-08', time_completed='2021-09-18 20:26:19.601084', job_id='263524', GAL2='1.01', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1632021979.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-1.58e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='148' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 20:26:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 263524: <4FGL_J1753.7+2847_daily_bin148> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin148> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 18 20:10:19 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 20:10:20 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:10:20 2021
Terminated at Sat Sep 18 20:26:19 2021
Results reported at Sat Sep 18 20:26:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin148 268.433 28.7967 277689601 277948801 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 :                                   947.01 sec.
    Max Memory :                                 1197 MB
    Average Memory :                             340.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            960 sec.

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

