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


Performing analysis on: 4FGL_J1754.2+3212_daily_bin55
RA = 268.553, Dec = 32.2007
tmin = 253584001, tmax = 253843201
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='293862', job_status='RUN', time_executed='2021-09-18 21:50:34.932409', time_epoch_executed='1632027034.93' WHERE source_name='4FGL J1754.2+3212' and cadence='daily' and bin_id='55'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293862

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293862/ft1_4FGL_J1754.2+3212_daily_bin55.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293862/ft2_4FGL_J1754.2+3212_daily_bin55.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293862/ft1_4FGL_J1754.2+3212_daily_bin55.fits outfile=/scratch/kocevski/293862/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin55.fits ra=268.553 dec=32.2007 rad=12.0 tmin=253584001.0 tmax=253843201.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 1.42
user 1.25
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293862/ft1_filtered_4FGL_J1754.2+3212_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/293862/ft2_4FGL_J1754.2+3212_daily_bin55.fits sctable="SC_DATA" expcube=/scratch/kocevski/293862/ltcube_253584001_253843201_4FGL_J1754.2+3212_daily_bin55.fits outfile=/scratch/kocevski/293862/expmap_253584001_253843201_4FGL_J1754.2+3212_daily_bin55.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/293862/ltcube_253584001_253843201_4FGL_J1754.2+3212_daily_bin55.fits
.....................!
real 190.03
user 185.17
sys 4.53

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/293862/ft1_filtered_4FGL_J1754.2+3212_daily_bin55.fits scfile=/scratch/kocevski/293862/ft2_4FGL_J1754.2+3212_daily_bin55.fits outfile=/scratch/kocevski/293862/cmap_253584001_253843201_4FGL_J1754.2+3212_daily_bin55.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.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/293862/ft1_filtered_4FGL_J1754.2+3212_daily_bin55.fits scfile=/scratch/kocevski/293862/ft2_4FGL_J1754.2+3212_daily_bin55.fits outfile=/scratch/kocevski/293862/cmap_HighResolution_253584001_253843201_4FGL_J1754.2+3212_daily_bin55.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=268.553 yref=32.2007 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8859       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .59837       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.722       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.873       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.6361       1.0000         .10000E-03   10000.    
    13 'norm      '    .10194E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.6616       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18558       1.0000         .10000E-03   10000.    
    16 'norm      '    .20562E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.4836       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.5421       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.0794       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .96386       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96711       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=   8922.749     FROM MIGRAD    STATUS=CONVERGED    592 CALLS     2574 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8857        6.6191       -.73301E-07   -.15529E-03
   2  Prefactor     .10000E-03    20.062        .14444E-05** at limit **
   3  norm          .59942        6.3065        .49100E-05   -.55920E-03
   4  Prefactor     15.716        53.525       -.98855E-05   -.16368E-03
   5  Prefactor     .10001E-03    44.759       -.28116E-05** at limit **
   6  Prefactor     .10000E-03    6.2598        .47678E-07** at limit **
   7  Prefactor     .10000E-03    18.669        .15881E-05** at limit **
   8  Prefactor     .10000E-03    2.8285        .69108E-08** at limit **
   9  Prefactor     .10000E-03    9.9840       -.16758E-05** at limit **
  10  Prefactor     29.863        54.544       -.23403E-05   -.14041E-03
  11  Prefactor     .10000E-03    8.0745       -.40243E-06** at limit **
  12  norm          3.6361        1.9349       -.23259E-08   -.12879E-04
  13  norm          .10002E-03    83.688       -.46781E-05** at limit **
  14  norm          9.6606        11.769        .10805E-06   -.34076E-04
  15  Prefactor     .19180        2.1550        .40338E-06   -.58238E-03
  16  norm          .10091E-03    4.1524        .13699E-05** at limit **
  17  Prefactor     2.4833        3.6790        .27704E-06   -.40172E-03
  18  Prefactor     .10000E-03    9.2835        .18789E-05** at limit **
  19  norm          .10000E-03    16.848       -.10794E-05** at limit **
  20  Prefactor     2.5427        6.7570        .28811E-06   -.20655E-03
  21  norm          .10001E-03    23.325       -.27251E-05** at limit **
  22  norm          1.0786        2.2875        .48438E-06    .27533E-04
  23  norm          .10000E-03    .98580       -.73028E-07** at limit **
  24  Normalizat    .96394        .19024       -.71477E-07   -.22286E-03
  25  Prefactor     .96709        .86337E-01   -.21066E-06   -.37942E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.88567
  Prefactor  = 0.000100002
  norm       = 0.599422
  Prefactor  = 15.716
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 29.8633
  Prefactor  = 0.0001
  norm       = 3.63613
  norm       = 0.000100015
  norm       = 9.6606
  Prefactor  = 0.191796
  norm       = 0.00010091
  Prefactor  = 2.48332
  Prefactor  = 0.000100002
  norm       = 0.000100001
  Prefactor  = 2.54272
  norm       = 0.000100005
  norm       = 1.07864
  norm       = 0.0001
  Normalizat = 0.963941
  Prefactor  = 0.967091
 **********
 **   18 **HESSE 
 **********

 FCN=   8922.749     FROM HESSE     STATUS=OK           427 CALLS     3001 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8857        6.6097        .18197E-03   -1.5266    
   2  Prefactor     .10000E-03    20.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .59942        6.9570        .42243E-03   -1.5553    
   4  Prefactor     15.716        53.402        .10101E-03   -1.4915    
   5  Prefactor     .10001E-03    45.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.2742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.8318        .15514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.863        54.970        .73305E-04   -1.4614    
  11  Prefactor     .10000E-03    8.2116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.6361        1.9356        .93157E-04   -1.5327    
  13  norm          .10002E-03    85.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.6606        11.788        .12892E-03   -1.5086    
  15  Prefactor     .19180        6.7963        .26875E-02   -1.5620    
  16  norm          .10091E-03    52.716        .35901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.4833        3.6652        .21282E-03   -1.5393    
  18  Prefactor     .10000E-03    9.5582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    16.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.5427        6.6751        .25613E-03   -1.5389    
  21  norm          .10001E-03    23.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.0786        1.8919        .19982E-02   -1.5500    
  23  norm          .10000E-03    1.0040        .18226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .96394        .22395        .34676E-03   -.94248    
  25  Prefactor     .96709        .10206        .15885E-03   -.93835    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83262e-08
Minuit parameter uncertainties:
  1  6.61066
  2  0.0003584
  3  4.08445
  4  53.5647
  5  0.00101829
  6  8.98226e-06
  7  0.000396409
  8  1.30639e-06
  9  0.000262356
  10  55.0635
  11  5.25807e-05
  12  1.93563
  13  0.00229855
  14  11.7904
  15  2.28311
  16  0.0138662
  17  3.66549
  18  0.000302298
  19  0.000237346
  20  6.6771
  21  0.000715391
  22  1.89205
  23  3.5369e-06
  24  0.224164
  25  0.102082
Done.

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

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  3.636e+00  1.936e+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.671e-01  1.021e-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:  9.639e-01  2.242e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.10
Ra Dec: 268.553 32.201
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 3.55e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 4.01e-05 +/- 2.13e-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) = 8922.61300201
delta logL = 0.135566080258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8922.60941913
delta logL = 0.139148961507

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4932       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0073       1.0000          .0000       5.0000    
     3 'Normalizat'    .95030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96933       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=   8922.609     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4932        37.422        .54083E-02    .11323E-02
   2  alpha         2.0072        3.2721        .26133        .64339E-04
   3  Normalizat    .95025        .15328        .78832E-01    .56060E-04
   4  Prefactor     .96935        .44401E-01    .45883E-01   -.23636E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.49315
  alpha      = 2.00716
  Normalizat = 0.950248
  Prefactor  = 0.969349
 **********
 **   18 **HESSE 
 **********

 FCN=   8922.609     FROM HESSE     STATUS=OK            31 CALLS      266 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4932        1.8992        .85695E-04   -1.5334    
   2  alpha         2.0072        .48994        .13786E-01   -.19843    
   3  Normalizat    .95025        .21862        .34892E-03   -.94716    
   4  Prefactor     .96935        .10012        .15865E-03   -.93758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18502e-10
Minuit parameter uncertainties:
  1  1.89921
  2  0.493266
  3  0.218828
  4  0.100135
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293862': 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) = 8922.60941905
delta logL = 0.139149036188

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  3.493e+00  1.899e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  2.007e+00  4.933e-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.693e-01  1.001e-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:  9.502e-01  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.37
Ra Dec: 268.553 32.201
Photon Index (Free Index): 2.01 +/- 0.49
Photon Flux (Free Index): 4.85e-08 +/- 3.51e-08
Energy Flux (Free Index): 3.23e-05 +/- 2.01e-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/293862/cmap_HighResolution_253584001_253843201_4FGL_J1754.2+3212_daily_bin55.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.55e-08', energy_flux2='3.23e-05', photon_flux_error='1.89e-08', dlogl='1.39e-01', energy_flux='4.01e-05', photon_flux2='4.85e-08', job_status='DONE', time_completed='2021-09-18 22:04:14.483844', photon_index_error2='0.49', photon_index2='2.01', ts='17.10', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='0.96', time_epoch_completed='1632027854.48', return_code='0', job_id='293862', GAL2='0.97', EG2='0.95', return_code2='0', energy_flux_error='2.13e-05', photon_flux_error2='3.51e-08', ts2='17.37', photon_index='1.75' WHERE bin_id='55' AND source_name='4FGL J1754.2+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 22:04:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 293862: <4FGL_J1754.2+3212_daily_bin55> in cluster <slac> Done

Job <4FGL_J1754.2+3212_daily_bin55> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 18 21:50:25 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:50:26 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:50:26 2021
Terminated at Sat Sep 18 22:04:15 2021
Results reported at Sat Sep 18 22:04:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1754.2+3212_daily_bin55 268.553 32.2007 253584001 253843201 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 :                                   816.00 sec.
    Max Memory :                                 1172 MB
    Average Memory :                             357.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            830 sec.

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

